RouteTree constructor
const
RouteTree({
- List<
RouteEntry> routes = const [], - List<
MiddlewareEntry> globalMiddleware = const [], - List<
MiddlewareEntry> scopedMiddleware = const [], - List<
ErrorEntry> scopedErrors = const [], - RouteEntry? fallback,
- HooksEntry? hooks,
Creates a scanned route tree.
Implementation
const RouteTree({
this.routes = const [],
this.globalMiddleware = const [],
this.scopedMiddleware = const [],
this.scopedErrors = const [],
this.fallback,
this.hooks,
});