lazyBox<E> method

LazyBox<E> lazyBox<E>()

Implementation

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