exists method

  1. @override
Future<bool> exists()
override

Returns whether or not there is an existing data file with cache info.

Implementation

@override
Future<bool> exists() async {
  final file = await _getFile();
  return file.exists();
}