declaredElement property

  1. @override
ClassElement? get declaredElement
override

The element associated with this declaration, or null if either this node corresponds to a list of declarations or if the AST structure hasn't been resolved.

Implementation

@override
ClassElement? get declaredElement;