readHive method

Future readHive(
  1. dynamic key
)

Implementation

Future readHive(key) async {
  var box = await Hive.openBox(boxName);
  return box.get(key);
}