routeGuards property
Ran before opening the route itself.
If every route guard returns true, the route is approved and opened.
Anything else will result in the route being rejected and not open.
Implementation
final List<RouteGuard>? routeGuards;
Ran before opening the route itself.
If every route guard returns true, the route is approved and opened.
Anything else will result in the route being rejected and not open.
final List<RouteGuard>? routeGuards;