declaration property

  1. @override
FieldElement declaration

The declaration of this element.

If the element is a view on an element, e.g. a method from an interface type, with substituted type parameters, return the corresponding element from the class, without any substitutions. If this element is already a declaration (or a synthetic element, e.g. a synthetic property accessor), return itself.


FieldElement get declaration => this;