declaredElement property

  1. @Deprecated('Use declaredElement2 instead')
LocalVariableElement? get declaredElement

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

Implementation

@Deprecated('Use declaredElement2 instead')
LocalVariableElement? get declaredElement;