staticElement property

Element? get staticElement

Return the element associated with this identifier based on static type information, or null if the AST structure has not been resolved or if this identifier could not be resolved.

One example of the latter case is an identifier that is not defined within the scope in which it appears.

Implementation

Element? get staticElement;