reset method
void
reset()
Fully resets the route manager to initial state (for testing).
Implementation
void reset() {
clearHistory();
_currentRoute.value = const RouteInfo(path: '/', name: 'home');
}
Fully resets the route manager to initial state (for testing).
void reset() {
clearHistory();
_currentRoute.value = const RouteInfo(path: '/', name: 'home');
}