scope static method

StructScope scope(
  1. String name
)

Create or get a named scope

  • name: The name of the scope. Returns the created or existing scope.

Implementation

static StructScope scope(String name) {
  return _scopes.putIfAbsent(name, () => StructScope());
}