staticElement property
The element associated with the expression based on the static types, or
null
if the AST structure hasn't been resolved, or there's no meaningful
static element to return. The latter case can occur, for example, when
this is a non-compound assignment expression, or when the method referred
to couldn't be resolved.
Implementation
@Deprecated('Use element instead')
MethodElement? get staticElement;