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