getScope static method

ZenScope? getScope(
  1. String name
)

Implementation

static ZenScope? getScope(String name) {
  final scope = _persistentScopes[name] ?? _autoDisposeScopes[name];
  // Return null if scope is disposed
  if (scope != null && scope.isDisposed) {
    return null;
  }
  return scope;
}