remove method
void
remove(
- K key
Implementation
void remove(K key) {
final node = _nodes.remove(key);
if (node == null) return;
_unlink(node);
final old = node.value;
if (old != null) onEvict?.call(old);
}