getCacheFile method

Future<File> getCacheFile()

Returns the File in which this CachedWebRequest will be saved.

The returned File might not exist.

Implementation

Future<File> getCacheFile() async {
  final folder = await CachedWebRequest.getSaveFolder();
  return File('${folder.path}/${getFileName()}');
}