t_cache 0.0.21 t_cache: ^0.0.21 copied to clipboard
Efficiently store and retrieve data with TTL, LRU eviction.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add t_cache
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
t_cache: ^0.0.21
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:t_cache/t_cache.dart';