toMap method
Returns a map representation of the cache.
Note: modifying the returned map does not affect the cache.
Implementation
Map<K, V> toMap() => Map.unmodifiable(_cache);
Returns a map representation of the cache.
Note: modifying the returned map does not affect the cache.
Map<K, V> toMap() => Map.unmodifiable(_cache);