element property

LibraryElement? get element

The element associated with this directive.

Returns null if the AST structure hasn't been resolved or if this directive couldn't be resolved.

Implementation

LibraryElement? get element;