updateRoutes method
- Iterable<
RouteDefiner> routes
Replaces the registry atomically and rechecks the current stack.
Implementation
void updateRoutes(Iterable<RouteDefiner<dynamic>> routes) {
_checkAlive();
_registry = RouteRegistry(routes);
refresh();
}