element property

Element? element

The element of name2 considering importPrefix for example a ClassElement, or TypeAliasElement. Can be null if name2 cannot be resolved, or there is no element for the type name, e.g. for void.

Implementation

Element? get element;