Field constructor Null safety

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

Implementation

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