t_cache 0.0.10+2 t_cache: ^0.0.10+2 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 Dart:
$ dart pub add t_cache
With Flutter:
$ flutter pub add t_cache
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
t_cache: ^0.0.10+2
Alternatively, your editor might support dart pub get
or 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';