box<E> method

Box<E> box<E>()

Implementation

Box<E> box<E>() {
  assert(_name != null && isInitialize, '请先初始化');
  assert(!_lazy, '这是个 lazyBox');
  if (!_isOpen) openBox();
  return Hive.box<E>(_name!);
}