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.of(context), key);
contextWatch.unwatchEffect(context, $2.of(context), key);
contextWatch.unwatchEffect(context, $3.of(context), key);
contextWatch.unwatchEffect(context, $4.of(context), key);
}