element property Null safety

Element? element

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

Implementation

Element? get element;
void element= (Element? element)

Set the element associated with this annotation to the given element.

Implementation

set element(Element? element);