unwatchEffect2 function

void unwatchEffect2(
  1. BuildContext context,
  2. Object obs1,
  3. Object obs2, {
  4. required Object key,
})

Implementation

void unwatchEffect2(
  BuildContext context,
  Object obs1,
  Object obs2, {
  required Object key,
}) {
  final contextWatch = InheritedContextWatch.of(context);

  contextWatch.unwatchEffect(context, obs1, key);
  contextWatch.unwatchEffect(context, obs2, key);
}