hive_cache_interceptor 1.0.0-dev.2 hive_cache_interceptor: ^1.0.0-dev.2 copied to clipboard
Package to implements cache using hive in hasura_connect package
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add hive_cache_interceptor
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
hive_cache_interceptor: ^1.0.0-dev.2
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:hive_cache_interceptor/hive_cache_interceptor.dart';