VRedirectorData class

Inheritance

Constructors

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

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.
final
names List<String>
A list of every names corresponding to the VRouteElements in the current stack
final
path String?
Path of url
no setterinherited
pathParameters Map<String, String>
Maps all route parameters (i.e. parameters of the path mentioned as ":someId")
final
previousPath String?
Path of previousUrl
no setterinherited
previousUrl String?
Previous url that was synced with the state
final
queryParameters Map<String, String>
Contains all query parameters (i.e. parameters after the "?" in the url) of the current url
final
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
final

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