element property

Element? get element

The element associated with this identifier based on static type information.

Returns null if the AST structure hasn't been resolved or if this identifier couldn't be resolved. One example of the latter case is an identifier that isn't defined within the scope in which it appears.

Implementation

Element? get element;