declaredElement property

CompilationUnitElement? get declaredElement

Return the element associated with this compilation unit, or null if the AST structure has not been resolved.

Implementation

CompilationUnitElement? get declaredElement;