guards property

List<RouteGuard> guards
final

List of route guards to control access or redirection for this route.

Guards are checked in order and can trigger redirects by returning a non-null route path.

Implementation

final List<RouteGuard> guards;