Url<T extends StateObject> class

representation of an url with an optional history state; a Url's path always starts with '/'

Constructors

Url(String path, {Map<String, String> params = const {}, Map<String, String> query = const {}, List<String> args = const [], int code = 200, T? userState})

Properties

args List<String>
final
code int
final
hashCode int
The hash code for this object.
no setterinherited
params Map<String, String>
final
path String
final
query Map<String, String>
final
queryString String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userState → T?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited