Func constructor Null safety

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

Implementation

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