scope static method
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());
}
Create or get a named scope
name
: The name of the scope.
Returns the created or existing scope.static StructScope scope(String name) {
return _scopes.putIfAbsent(name, () => StructScope());
}