its_cache 0.0.1 its_cache: ^0.0.1 copied to clipboard
A LRU/LFU cache with expire time implementation.(forked from https://github.com/platelk/dcache)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add its_cache
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
its_cache: ^0.0.1
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:its_cache/its_cache.dart';