MutUri class

Mutable Uri

Constructors

MutUri({String? origin, List<String>? paths, Map<String, String>? pathParams, Map<String, dynamic>? query})

Properties

getQuery Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
no setter
url String
no setter

Methods

clone() MutUri
http(String origin, [String? path]) MutUri
https(String origin, [String? path]) MutUri
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
origin(String origin, [String? path]) MutUri
Set origin of the URL
path(String path) MutUri
Append path segments to the URL
pathParam(String name, dynamic value) MutUri
pathParams(Map<String, dynamic> value) MutUri
queries(Map<String, dynamic> value) MutUri
Add query parameters
query(String key, dynamic value) MutUri
Add query parameters
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

from(dynamic from) MutUri