declaredElement2 property

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

The element associated with this declaration.

Returns null if either this node corresponds to a list of declarations or if the AST structure hasn't been resolved.

Implementation

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