declaredElement property

  1. @experimental
BindPatternVariableElement? get declaredElement

The element declared by this declaration.

Returns null if the AST structure hasn't been resolved.

Implementation

@experimental
BindPatternVariableElement? get declaredElement;