leaveScope method
Signals that the application has left the scope with the given scopeName.
This will notify all registered ScopeHandlers to handle the scope exit.
Implementation
Future<void> leaveScope(final String scopeName) async {
for (final scopeHandler in _scopeHandlers) {
await scopeHandler.handle(LeaveScope(scopeName: scopeName));
}
notifyObservers();
}