Instance constructor Null safety

Instance(
  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. int? offset,
  9. int? count,
  10. String? name,
  11. ClassRef? typeClass,
  12. ClassRef? parameterizedClass,
  13. List<BoundField>? fields,
  14. List? elements,
  15. List<MapAssociation>? associations,
  16. String? bytes,
  17. InstanceRef? mirrorReferent,
  18. InstanceRef? pattern,
  19. FuncRef? closureFunction,
  20. ContextRef? closureContext,
  21. bool? isCaseSensitive,
  22. bool? isMultiLine,
  23. InstanceRef? propertyKey,
  24. InstanceRef? propertyValue,
  25. TypeArgumentsRef? typeArguments,
  26. int? parameterIndex,
  27. InstanceRef? targetType,
  28. InstanceRef? bound,
  29. int? portId,
  30. InstanceRef? allocationLocation,
  31. String? debugName}
)

Implementation

Instance({
  required this.kind,
  required this.identityHashCode,
  required this.classRef,
  required String id,
  this.valueAsString,
  this.valueAsStringIsTruncated,
  this.length,
  this.offset,
  this.count,
  this.name,
  this.typeClass,
  this.parameterizedClass,
  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,
      );