VRouterDataImpl class

A concrete implementation of VRouterData

Inheritance

Constructors

VRouterDataImpl({required String? previousUrl, required String url, required Map<String, String> pathParameters, required Map<String, String> queryParameters, required Map<String, String> historyState, required List<String> names})

Properties

hash String?
The hash of the url (a.k.a fragment)
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
historyState Map<String, String>
This state is saved in the browser history. This means that if the user presses the back or forward button on the navigator, this historyState will be the same as the last one you saved.
getter/setter pairoverride-getter
names List<String>
A list of every names corresponding to the VRouteElements in the current stack
getter/setter pairoverride-getter
path String
Path of url
no setteroverride
pathParameters Map<String, String>
Maps all route parameters (i.e. parameters of the path mentioned as ":someId")
getter/setter pairoverride-getter
previousPath String?
Path of previousUrl
no setterinherited
previousUrl String?
Previous url that was synced with the state
getter/setter pairoverride-getter
queryParameters Map<String, String>
Contains all query parameters (i.e. parameters after the "?" in the url) of the current url
getter/setter pairoverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Url currently synced with the state This url can differ from the once of the browser if the state has been yet been updated
getter/setter pairoverride-getter

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