contains method

bool contains(
  1. FileSystemEntity entity, {
  2. String key = '',
})

Check if the given file system entity is present in the cache.

Implementation

bool contains(FileSystemEntity entity, {String key = ''}) =>
    _getCacheLocation(entity, key: key).existsSync();