FieldRef constructor Null safety

FieldRef(
  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}
)

Implementation

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