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