Uri buildUri(String path, Map<String, String>? query) { return Uri.parse('${options.baseUrl}$path').replace(queryParameters: query); }