element property

  1. @experimental
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

@experimental
LibraryElement? get element;