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)
@Deprecated('Clients should not build AST manually')

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

Implementation

@Deprecated('Clients should not build AST manually')
set elementAnnotation(ElementAnnotation? annotation);