declaredElement property

CompilationUnitElement? get declaredElement

The element associated with this compilation unit, or null if the AST structure hasn't been resolved.

Implementation

CompilationUnitElement? get declaredElement;