createScope static method
Creates a new child scope branching from the current active scope.
child scopes can override parent dependencies and provide their own isolated lifecycle.
name: A descriptive name for the scope (used in profiling and logs).
Implementation
static LevitScope createScope(String name) {
return currentScope.createScope(name);
}