unwatchEffect method
Remove the effect with the given key
from the list of effects to be
called when this Observable
notifies of a change.
Implementation
void unwatchEffect(
BuildContext context, {
required Object key,
}) {
InheritedContextWatch.of(context).unwatchEffect(context, this, key);
}