hiveLazy function
Implementation
Future<LazyBox> hiveLazy(String box) async {
if (Hive.isBoxOpen("arcane$box")) {
return Hive.lazyBox("arcane$box");
}
return Hive.openLazyBox("arcane$box").then((value) {
success(
"Initialized Lazy Hive Box ${value.name} with ${value.keys.length} keys");
return value;
});
}