reflectedType property Null safety

Type reflectedType

If hasReflectedType is true, returns the corresponding Type. Otherwise, an UnsupportedError is thrown.

Required capabilities: reflectedType can be invoked iff hasReflectedType returns true. However, capabilities can be used to extend the set of situations where hasReflectedType returns true, by having a reflectedTypeCapability in the reflector for this VariableMirror.


Type get reflectedType;