loadCachedDocument method
Loads the corresponding WebCacheDocument for the given request url.
Implementation
Future<WebCacheDocument> loadCachedDocument() async {
final cacheFile = await getCacheFile();
final jsonContent = await cacheFile.readAsString();
final json = jsonDecode(jsonContent);
return WebCacheDocument.fromJson(json);
}