unwatchEffect method

void unwatchEffect(
  1. BuildContext context, {
  2. required Object key,
})

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}) {
  return unwatchEffect3(context, $1, $2, $3, key: key);
}