element2 property

Element2? get element2

Returns the element referenced by this annotation.

In valid code this element can be a GetterElement of a constant top-level variable, or a constant static field of a class; or a constant ConstructorElement.

In invalid code this element can be null, or a reference to any other element.

Implementation

Element2? get element2;