isPotentiallyMutatedInScope abstract method
If variable
is a local variable or parameter declared anywhere within
the top level function or method containing this FunctionBody, return a
boolean indicating whether variable
is potentially mutated within the
scope of its declaration.
If variable
isn't a local variable or parameter declared within the top
level function or method containing this FunctionBody, return false
.
Throws an exception if resolution hasn't been performed.
Implementation
bool isPotentiallyMutatedInScope(VariableElement variable);