Field constructor

Field({
  1. required VariableName name,
  2. bool isConst = false,
  3. bool isFinal = false,
  4. bool isStatic = false,
  5. bool isVariable = false,
  6. TypeName type = TypeName.empty,
})

Implementation

Field({
  required this.name,
  this.isConst = false,
  this.isFinal = false,
  this.isStatic = false,
  this.isVariable = false,
  this.type = TypeName.empty,
});