invalidate method
Invalidates and closes the entry associated with key.
Implementation
bool invalidate(K key) {
final entry = _entries[key];
if (entry == null) return false;
_removeEntry(key, entry, close: true);
return true;
}
Invalidates and closes the entry associated with key.
bool invalidate(K key) {
final entry = _entries[key];
if (entry == null) return false;
_removeEntry(key, entry, close: true);
return true;
}