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