type property Null safety

ClassMirror type

A mirror on the type of the reflectee.

Returns a mirror on the class of the reflectee, based on the value returned by runtimeType. Note that the actual class of the reflectee may differ from the object returned by invoking runtimeType on the reflectee, because that method can be overridden. In that case, please take special care.

Required capabilities: type requires a TypeCapability.

Implementation

ClassMirror get type;