InstanceRef constructor Null safety

InstanceRef(
  1. {String? kind,
  2. int? identityHashCode,
  3. 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({
  this.kind,
  this.identityHashCode,
  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,
      );