RouteState class

Immutable URI information for one navigation attempt.

Constructors

RouteState(Uri uri, {Map<String, String>? uriParams, Object? arguments})

Properties

arguments → Object?
Application-owned payload. Its contents are not deep-copied.
final
fragment → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
path → String
no setter
queryParams → Map<String, String>
Single-value query view; use queryParamsAll for repeated keys.
final
queryParamsAll → Map<String, List<String>>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Uri
Full URI, including authority when supplied by an external link.
final
uriParams → Map<String, String>?
Decoded parameters, or null when no definition matched.
final

Methods

argumentsAs<T>() → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pathInt(String name) → int
requirePathParameter(String name) → String
toString() → String
A string representation of this object.
inherited

Operators

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