Field constructor

Field(
  1. {@required String name,
  2. @required ObjRef owner,
  3. @required InstanceRef declaredType,
  4. @required bool isConst,
  5. @required bool isFinal,
  6. @required bool isStatic,
  7. @required String id,
  8. InstanceRef staticValue,
  9. SourceLocation location}
)

Implementation

Field({
  @required this.name,
  @required this.owner,
  @required this.declaredType,
  @required this.isConst,
  @required this.isFinal,
  @required this.isStatic,
  @required String id,
  this.staticValue,
  this.location,
}) : super(id: id);