VariableElementImpl constructor

VariableElementImpl({
  1. required String name,
  2. required Element enclosingElement,
  3. required bool hasImplicitType,
  4. required bool isConst,
  5. required bool isFinal,
  6. required bool isLate,
  7. required bool isStatic,
  8. DartType? type,
})

Creates an instance of VariableElementImpl.

Implementation

VariableElementImpl({
  required this.name,
  required this.enclosingElement,
  required this.hasImplicitType,
  required this.isConst,
  required this.isFinal,
  required this.isLate,
  required this.isStatic,
  DartType? type,
}) : _type = type;