Instance constructor Null safety

Instance(
  1. {String? kind,
  2. int? identityHashCode,
  3. ClassRef? classRef,
  4. required String id,
  5. String? valueAsString,
  6. bool? valueAsStringIsTruncated,
  7. int? length,
  8. int? offset,
  9. int? count,
  10. String? name,
  11. ClassRef? typeClass,
  12. ClassRef? parameterizedClass,
  13. InstanceRef? returnType,
  14. List<Parameter>? parameters,
  15. List<InstanceRef>? typeParameters,
  16. List<BoundField>? fields,
  17. List? elements,
  18. List<MapAssociation>? associations,
  19. String? bytes,
  20. InstanceRef? mirrorReferent,
  21. InstanceRef? pattern,
  22. FuncRef? closureFunction,
  23. ContextRef? closureContext,
  24. bool? isCaseSensitive,
  25. bool? isMultiLine,
  26. InstanceRef? propertyKey,
  27. InstanceRef? propertyValue,
  28. TypeArgumentsRef? typeArguments,
  29. int? parameterIndex,
  30. InstanceRef? targetType,
  31. InstanceRef? bound,
  32. int? portId,
  33. InstanceRef? allocationLocation,
  34. String? debugName}
)

Implementation

Instance({
  this.kind,
  this.identityHashCode,
  this.classRef,
  required String id,
  this.valueAsString,
  this.valueAsStringIsTruncated,
  this.length,
  this.offset,
  this.count,
  this.name,
  this.typeClass,
  this.parameterizedClass,
  this.returnType,
  this.parameters,
  this.typeParameters,
  this.fields,
  this.elements,
  this.associations,
  this.bytes,
  this.mirrorReferent,
  this.pattern,
  this.closureFunction,
  this.closureContext,
  this.isCaseSensitive,
  this.isMultiLine,
  this.propertyKey,
  this.propertyValue,
  this.typeArguments,
  this.parameterIndex,
  this.targetType,
  this.bound,
  this.portId,
  this.allocationLocation,
  this.debugName,
}) : super(
        id: id,
        classRef: classRef,
      );