SafeNestedRoute constructor
Creates a nested route container.
nameis the base path for this group (e.g."/account").routesare child routes inside this namespace.
Implementation
SafeNestedRoute({
required super.name,
required List<RouteNode> routes,
}) : _routes = {} {
for (final route in routes) {
route.parent = this;
_routes[route.name] = route;
}
}