disposeScope static method

void disposeScope(
  1. String name
)

Dispose a named scope

  • name: The name of the scope to dispose.

Implementation

static void disposeScope(String name) {
  final scope = _scopes.remove(name);
  scope?.dispose();
}