isCached method

Future<bool> isCached(
  1. String url
)

Implementation

Future<bool> isCached(String url) async {
  final file = await _getFile(url);
  return file.exists();
}