AppRoutes class

the routes of the app, from Dox.loadRoutes

Constructors

AppRoutes({required List<RouteData> routes, required List<RouteData> fallbacks, required Map<String, RawRequestHandler> mounts, required Set<String> mountsWithMiddleware})
const

Properties

fallbacks → List<RouteData>
the routes added with Route.fallback
final
hashCode → int
The hash code for this object.
no setterinherited
mounts → Map<String, RawRequestHandler>
prefix => handler, added with Route.mount
final
mountsWithMiddleware → Set<String>
the prefixes of the mounts that run the global middleware first
final
routes → List<RouteData>
every route, in the order they were added
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited