ClassRef constructor Null safety

ClassRef(
  1. {required String? name,
  2. required LibraryRef? library,
  3. required String id,
  4. SourceLocation? location,
  5. List<InstanceRef>? typeParameters}
)

Implementation

ClassRef({
  required this.name,
  required this.library,
  required String id,
  this.location,
  this.typeParameters,
}) : super(
        id: id,
      );