parseUri static method
Implementation
static Uri parseUri(String authority, String path, {Map<String, dynamic>? queryparams}) {
var uri = Uri.parse(authority);
if (uri.scheme == "https") {
return Uri.https(uri.authority, path, queryparams);
}
return Uri.http(uri.authority, path, queryparams);
}