staticElement property Null safety

MethodElement? staticElement

Return the element associated with the expression based on the static types, or null if the AST structure has not been resolved, or there is no meaningful static element to return (e.g. because this is a non-compound assignment expression, or because the method referred to could not be resolved).


MethodElement? get staticElement;