resetInstance method
Clears all registered instances (and/or tags). Even the persistent ones. This should be used at the end or tearDown of unit tests.
clearFactory clears the callbacks registered by lazyPut
clearRouteBindings clears Instances associated with routes.
Implementation
bool resetInstance({bool clearRouteBindings = true}) {
// if (clearFactory) _factory.clear();
// deleteAll(force: true);
if (clearRouteBindings) RouterReportManager.instance.clearRouteKeys();
Inst._singl.clear();
return true;
}