getUri method
Implementation
Future<String> getUri(
Uri url, {
bool readCache = true,
bool writeCache = true,
Duration? ttl,
}) async {
ttl ??= Duration(days: 4);
final cachedResp = getCache('$url');
if (cachedResp != null) return cachedResp;
return _finishRequest(await _client.getUrl(url), '$url', writeCache, ttl);
}