hasCachedDocument method

Future<bool> hasCachedDocument()

Whether this CachedWebRequest already has a cached WebCacheDocument or not.

Returns true if a WebCacheDocument already exists, otherwise false.

Implementation

Future<bool> hasCachedDocument() async => (await getCacheFile()).exists();