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');
}