routeGuards property

List<RouteGuard>? routeGuards
final

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;