declaredElement property

LocalVariableElement? get declaredElement

The declared element, or null if the AST hasn't been resolved.

Implementation

LocalVariableElement? get declaredElement;