declaredElement property

  1. @Deprecated('Use declaredFragment instead')
CompilationUnitElement? get declaredElement

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

Implementation

@Deprecated('Use declaredFragment instead')
CompilationUnitElement? get declaredElement;