FieldRef constructor Null safety

FieldRef(
  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. SourceLocation? location}
)

Implementation

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