RequestContext class

An object representing a request-specific context.

Properties

hashCode int
The hash code for this object.
no setterinherited
mountedParams Map<String, String>
Get URL parameters captured by the Router.mount. They can be accessed from inside the mounted routes.
no setter
request Request
The associated Request.
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
provide<T extends Object?>(T create()) RequestContext
Provide the value returned by create to the respective request context.
read<T>() → T
Lookup an instance of T from the request context.
toString() String
A string representation of this object.
inherited

Operators

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