element property Null safety

ImportElement? element
override

Return the element associated with this directive, or null if the AST structure has not been resolved or if this directive could not be resolved.

Implementation

@override
ImportElement? get element;