element property
Element?
get
element
Return the element referenced by this pattern, or null
if either
name does not resolve to an element, or the AST structure has not
been resolved. In valid code this will be either LocalVariableElement
or ParameterElement.
Implementation
Element? get element;