deleteCacheDocument method

Future<void> deleteCacheDocument()

Deletes the cache file for the request.

Implementation

Future<void> deleteCacheDocument() async {
  if (await hasCachedDocument()) {
    await (await getCacheFile()).delete();
  }
}