isPotentiallyMutatedInScope abstract method
- @Deprecated('Use isPotentiallyMutatedInScope2 instead')
- VariableElement variable
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
@Deprecated('Use isPotentiallyMutatedInScope2 instead')
bool isPotentiallyMutatedInScope(VariableElement variable);