element property
Element?
get
element
The element of name considering importPrefix.
This could be a ClassElement, TypeAliasElement, or other type defining element.
Returns null if name can't be resolved, or there's no element for the
type name, such as for void.
Implementation
Element? get element;