stash 3.0.0 stash: ^3.0.0 copied to clipboard
Standard caching API for Dart. Defines a common mechanism to create, access, update, and remove information from caches. Provides a in memory reference implementation
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add stash
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
stash: ^3.0.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:stash/stash_api.dart';
import 'package:stash/stash_msgpack.dart';