element property

Element? get element

The element referenced by this pattern, or null if either name doesn't resolve to an element or the AST structure hasn't been resolved.

In valid code this is either a LocalVariableElement or a ParameterElement.

Implementation

Element? get element;