disposeAll static method

void disposeAll()

Dispose all scopes

Implementation

static void disposeAll() {
  for (final scope in _scopes.values) {
    scope.dispose();
  }
  _scopes.clear();
}