addRouteGuards method
Add route guards to the route
Implementation
NyRouterRoute addRouteGuards(List<RouteGuard> guards) {
for (var guard in guards) {
_routeGuards.add(guard);
}
NyNavigator.instance.router.updateRoute(this);
return this;
}