staticElement property Null safety
Return the element associated with this identifier based on static type
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.
Element? get staticElement;