flutter_lru_cache 1.0.4
flutter_lru_cache: ^1.0.4 copied to clipboard
A simple and efficient LRU (Least Recently Used) cache implementation for Dart and Flutter, providing O(1) read and write operations based on LinkedHashMap.
1.0.4 #
- Validate
capacityin the constructor and throwArgumentErrorfor non-positive values. - Fix equality comparison to distinguish missing keys from
nullvalues. - Add
isNotEmptygetter. - Add dartdoc comments for all public APIs.
- Rename the example file to follow pub layout conventions.
- Expand test coverage.
1.0.3 #
- Add
removemethod.
1.0.2 #
- Add README and fix the example.
1.0.1 #
- Minor fixes.
1.0.0 #
- Initial version.