declaredElement2 property

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

The element declared by this declaration.

Returns null if the AST structure hasn't been resolved or if this node represents the declaration of a top-level variable or a field.

Implementation

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