declaredElement property

LocalVariableElement? get declaredElement

The declared element, or null if the AST has not been resolved.

Implementation

LocalVariableElement? get declaredElement;