hasDynamicReflectedType property

bool get hasDynamicReflectedType

Returns true if this mirror reflects dynamic, a non-generic class or typedef, or an instantiated generic class or typedef with support in the execution mode. Otherwise, returns false.

The notion of support in the execution mode reflects temporary restrictions arising from the lack of runtime support for certain operations. In particular, untransformed code cannot produce the dynamic reflected type for a type mirror on an instantiated generic class due to a lack of primitives for navigation among different instantiations of the same generic class. For instance, with a given Type representing List<int>, there is no support for obtaining List<dynamic> because there are no primitives in 'dart:mirrors' nor in the core libraries for applying a given generic class to any given type arguments.

Required capabilities: hasDynamicReflectedType does not require any capabilities.

Implementation

bool get hasDynamicReflectedType;