element property

  1. @Deprecated('Use element2 instead')
Element? element

Return the element representing the declaration of this type, or null if the type has not, or cannot, be associated with an element. The former case will occur if the element model is not yet complete; the latter case will occur if this object represents an undefined type.

Implementation

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