staticElement property

  1. @override
Element? staticElement
override

Return the element associated with this identifier based on static type information, or null if the AST structure has not been resolved or if this identifier could not be resolved.

One example of the latter case is an identifier that is not defined within the scope in which it appears.

Implementation

@override
Element? get staticElement => _staticElement;
void staticElement=(Element? element)

Implementation

set staticElement(Element? element) {
  _staticElement = element;
}