Future<Uri> getUrl({String? endUrl}) async { String url = await baseUrl; if (endUrl != null) url = '$url$endUrl'; return parseUrl(url); }