addQueryParamToProxy function
Implementation
Uri addQueryParamToProxy(Uri uri, String key, String value) {
var qP = Map<String, String>.from(uri.queryParameters);
qP.remove("url");
qP[key] = value;
qP["url"] = "";
uri = uri.replace(queryParameters: qP);
return uri;
}