removeContexts method

Future<void> removeContexts(
  1. String key
)

Removes a value from the Scope's contexts

Implementation

Future<void> removeContexts(String key) async {
  _contexts.remove(key);

  await _callScopeObservers(
      (scopeObserver) async => await scopeObserver.removeContexts(key));
}