element2 property

  1. @Deprecated('Use element instead')
Element? 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

@Deprecated('Use element instead')
Element? get element2;