evict method

Future<void> evict(
  1. CPDFPageThumbnailKey key
)

Removes the SDK disk cache entry for key.

Implementation

Future<void> evict(CPDFPageThumbnailKey key) {
  _memoryCache.remove(key.cacheKey);
  _log('P${key.pageIndex + 1} evict ${_summary(key)}');
  return _diskCache.remove(key);
}