element property

Element? get element

The element of name2 considering importPrefix for example a ClassElement, or TypeAliasElement, or null if name2 can't be resolved, or there's no element for the type name, such as for void.

Implementation

Element? get element;