RouterContext class

路由上下文
The router context for some path

Constructors

RouterContext({String path, String routeId, Map<String, String> params, Map<String, dynamic> queries, RouteHandler handler })

Properties

handler RouteHandler
read / write
middlewares ↔ List<RouteMiddleware>
read / write
params ↔ Map<String, String>
read / write
path ↔ String
read / write
queries ↔ Map<String, dynamic>
read / write
routeId ↔ String
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited