dynamicReflectedType property Null safety

Type dynamicReflectedType

If hasDynamicReflectedType is true, returns the corresponding Type as specified for dynamicReflectedType in ClassMirror. Otherwise, an UnsupportedError is thrown.

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

Implementation

Type get dynamicReflectedType;