get static method

AbstractScope get(
  1. String name,
  2. Environment environment
)

Implementation

static AbstractScope get(String name, Environment environment) {
  Type type = scopes[name]!;
  return environment.get(type: type);
}