addRouteGuard method
Add a route guard to the route.
Implementation
NyRouterRoute addRouteGuard(RouteGuard guard) {
_routeGuards.add(guard);
NyNavigator.instance.router.updateRoute(this);
return this;
}
Add a route guard to the route.
NyRouterRoute addRouteGuard(RouteGuard guard) {
_routeGuards.add(guard);
NyNavigator.instance.router.updateRoute(this);
return this;
}