createHiveKvStorage function

KvStorage createHiveKvStorage(
  1. Box<String> box
)

Creates a KvStorage backed by a Hive Box.

Consumers should import package:ifl/ifl_hive.dart instead of importing src/ internals directly.

Implementation

KvStorage createHiveKvStorage(Box<String> box) {
  return HiveKvStorage(HiveBoxAdapter(box));
}