abstract_kv_store 0.0.1+1 abstract_kv_store: ^0.0.1+1 copied to clipboard
Abstraction layer for common key-value store libraries, such has Hive.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add abstract_kv_store
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
abstract_kv_store: ^0.0.1+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:abstract_kv_store/abstract_kv_store.dart';