currentScope property
Dependencies
get
currentScope
Retrieves the current active dependency scope.
Throws an StateError if no scopes are currently active.
Implementation
static Dependencies get currentScope => _scopes.last;