box property

Box get box

Implementation

Box get box {
  if (!isOpen) {
    throw Exception('box is expected to be open before use');
  }
  return Hive.box(boxName);
}