replaceRoute(Route? newRoute, Route? oldRoute) { _map.removeWhere((key, value) => key == oldRoute); _routeQueue = Queue.from(_routeQueue.map((e) => e == oldRoute ? newRoute : e)); }