RouterState class
Represents the state of the router, which is a URL and matching routes.
Constructors
Properties
- fragment → String
-
Optional; if non-empty this is the part of the URL after a
#
symbol.finalinherited - fromPopState → bool
-
Whether this state was caused by a
popstate
event.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
parameters
→ Map<
String, String> -
A map of URL parameters.
final
- path → String
-
URL path.
finalinherited
-
queryParameters
→ Map<
String, String> -
Query parameters.
finalinherited
- routePath → RoutePath
-
latefinal
-
routes
→ List<
RouteDefinition> -
Matching route definitions at this URL.
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.
-
toUrl(
) → String -
Returns as a URL string that could be used for navigation/link sharing.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited