element property Null safety

TypeParameterElement element
override

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

@override
TypeParameterElement get element;