VPathRequestData class
Hold every information of the current route we are building This is used is VRouteElement.buildRoute and should be passed down to the next VRouteElement.buildRoute without modification.
The is used for two purposes:
- Giving the needed information for VRouteElement.buildRoute to decide how/if it should build its route
- Holds information that are used to populate the
LocalVRouterData
attached to every _ VRouteElement
Constructors
-
VPathRequestData({required String? previousUrl, required Uri uri, required Map<
String, String> historyState, required BuildContext rootVRouterContext, })
Properties
- hash → String
-
The hash contained in the uri
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
historyState
→ Map<
String, String> -
The new history state, used to populate the
LocalVRouterData
final -
final
- path → String
-
The path contained in the uri
no setter
- previousUrl → String?
-
The previous url (which is actually the current one since when VPathRequestData is passed
the url did not yet change from VRouter point of view)
final
-
queryParameters
→ Map<
String, String> -
The query parameters contained in the uri
no setter
- rootVRouterContext → BuildContext
-
A BuildContext with which we can access
RootVRouterData
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
The new uri. This is what should be used to determine the validity of the VRouteElement
final
- url → String
-
The url corresponding to the uri
no setter
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