classRef property Null safety

ClassRef? classRef
optional">@optionalread / write

If an object is allocated in the Dart heap, it will have a corresponding class object.

The class of a non-instance is not a Dart class, but is instead an internal vm object.

Moving an Object into or out of the heap is considered a backwards compatible change for types other than Instance.

Implementation

@optional
ClassRef? classRef;