replaceRoutes method

  1. @override
void replaceRoutes(
  1. List<RouteBase> routes
)
override

Implementation

@override
replaceRoutes(List<g.RouteBase> routes) {
  // Ensure we have a fallback route at the very end
  final newRoutes = _finalizeRoutes(routes);

  _routingConfig.value = RoutingConfig(routes: newRoutes);
}