element2 property
- @experimental
The element referenced by this pattern.
Returns 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 LocalVariableElement2
or a
FormalParameterElement
.
Implementation
@experimental
Element2? get element2;