reflectedReturnType property

Type reflectedReturnType

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

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

Implementation

Type get reflectedReturnType;