reset static method
Disposes all non-permanent dependencies in the active scope.
Set force to true to also dispose permanent dependencies.
Implementation
static Future<void> reset({bool force = false}) {
return currentScope.reset(force: force);
}