map property
The map that stores the cache entries in access order.
Uses LinkedHashMap to maintain insertion order, which can be leveraged for LRU eviction policies.
Implementation
late final LinkedHashMap<K, V> map;
The map that stores the cache entries in access order.
Uses LinkedHashMap to maintain insertion order, which can be leveraged for LRU eviction policies.
late final LinkedHashMap<K, V> map;