unwatchEffect method
Remove the effect with the given key
from the list of effects to be
called when any of referenced observables notifies of a change.
Implementation
void unwatchEffect(BuildContext context, {required Object key}) {
final contextWatch = InheritedContextWatch.of(context);
contextWatch.unwatchEffect(context, $1, key);
contextWatch.unwatchEffect(context, $2, key);
contextWatch.unwatchEffect(context, $3, key);
}