element property
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
@override
Element? get element {
if (_element != null) {
return _element!;
} else if (_constructorName == null) {
return _name.staticElement;
}
return null;
}
void
element=(Element? element)
Implementation
set element(Element? element) {
_element = element;
}