declaredElement2 property

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

Return the element associated with this declaration, or null if either this node corresponds to a list of declarations or if the AST structure has not been resolved.

Implementation

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