InstanceRef constructor Null safety

InstanceRef(
  1. {required String? kind,
  2. required int? identityHashCode,
  3. required ClassRef? classRef,
  4. required String id,
  5. String? valueAsString,
  6. bool? valueAsStringIsTruncated,
  7. int? length,
  8. String? name,
  9. ClassRef? typeClass,
  10. ClassRef? parameterizedClass,
  11. InstanceRef? returnType,
  12. List<Parameter>? parameters,
  13. List<InstanceRef>? typeParameters,
  14. InstanceRef? pattern,
  15. FuncRef? closureFunction,
  16. ContextRef? closureContext,
  17. int? portId,
  18. InstanceRef? allocationLocation,
  19. String? debugName}
)

Implementation

InstanceRef({
  required this.kind,
  required this.identityHashCode,
  required this.classRef,
  required String id,
  this.valueAsString,
  this.valueAsStringIsTruncated,
  this.length,
  this.name,
  this.typeClass,
  this.parameterizedClass,
  this.returnType,
  this.parameters,
  this.typeParameters,
  this.pattern,
  this.closureFunction,
  this.closureContext,
  this.portId,
  this.allocationLocation,
  this.debugName,
}) : super(
        id: id,
      );