uri property
Uri
get
uri
Implementation
Uri get uri {
var u = Uri.parse('$baseUrl/$path').normalizePath();
return u.replace(
queryParameters: {
...query.map<String, String>((key, value) => MapEntry(key, '$value')),
...u.queryParameters
},
pathSegments:
u.pathSegments.where((element) => element.isNotEmpty).toList());
}