Constructor
new(?pattern:String, ?pathname:String, ?params:Map<String, String>, ?historyState:Dynamic, ?data:Dynamic)
Creates a new RouteState object with the given arguments.
Available since
1.0.0
.Variables
params:Map<String, String>
A set of key/value pairs parsed from the current URL using the dynamic
segments of the pattern.
Available since
1.0.0
.urlVariables:URLVariables
Returns an URLVariables object constructed from the current query
parameters.
If the query parameters cannot be parsed by URLVariables, returns an
empty URLVariables object.
Available since
1.0.0
.