elementAnnotation property Null safety

ElementAnnotation? elementAnnotation

Return the element annotation representing this annotation in the element model; null when the AST has not been resolved.

Implementation

ElementAnnotation? get elementAnnotation;
void elementAnnotation= (ElementAnnotation? annotation)

Set the element annotation representing this annotation in the element model to the given annotation.

Implementation

set elementAnnotation(ElementAnnotation? annotation);