routeRules property

List<HttpRouteRule>? routeRules
getter/setter pair

The list of HTTP route rules.

Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.

Implementation

core.List<HttpRouteRule>? routeRules;