declaredElement property

  1. @Deprecated('Use declaredFragment instead')
BindPatternVariableElement? get declaredElement

The element declared by this declaration.

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

Implementation

@Deprecated('Use declaredFragment instead')
BindPatternVariableElement? get declaredElement;