debugOverrideScope abstract method
- @visibleForTesting
- InjectorScope newScope, {
- ScopeOverridingMode mode = ScopeOverridingMode.replace,
Overide the current InjectorScope with an newScope
in the desired
mode
for debuggind or testing purposes.
Implementation
@visibleForTesting
/// Overide the current [InjectorScope] with an [newScope] in the desired
/// [mode] for debuggind or testing purposes.
void debugOverrideScope(
InjectorScope newScope, {
ScopeOverridingMode mode = ScopeOverridingMode.replace,
});