Func constructor Null safety

Func(
  1. {required String? name,
  2. required dynamic owner,
  3. required bool? isStatic,
  4. required bool? isConst,
  5. required bool? implicit,
  6. required InstanceRef? signature,
  7. required String id,
  8. SourceLocation? location,
  9. CodeRef? code}
)

Implementation

Func({
  required this.name,
  required this.owner,
  required this.isStatic,
  required this.isConst,
  required this.implicit,
  required this.signature,
  required String id,
  this.location,
  this.code,
}) : super(
        id: id,
      );