remove method

Future<void> remove(
  1. String url
)

Remove specific URL from cache

Implementation

Future<void> remove(String url) async {
  final key = _generateKey(url);
  _memoryCache.remove(key);

  if (_config.persistToDisk && _cacheFile != null) {
    await _saveToDisk();
  }
}