openLazyBox<E> abstract method
Future<LazyBox<E> >
openLazyBox<E>(
- String name, {
- HiveCipher? encryptionCipher,
- KeyComparator keyComparator = defaultKeyComparator,
- CompactionStrategy compactionStrategy = defaultCompactionStrategy,
- bool crashRecovery = true,
- String? path,
- String? collection,
- @Deprecated('Use encryptionCipher instead') List<
int> ? encryptionKey,
Opens a lazy box.
If the box is already open, the instance is returned and all provided parameters are being ignored.
Implementation
Future<LazyBox<E>> openLazyBox<E>(
String name, {
HiveCipher? encryptionCipher,
KeyComparator keyComparator = defaultKeyComparator,
CompactionStrategy compactionStrategy = defaultCompactionStrategy,
bool crashRecovery = true,
String? path,
String? collection,
@Deprecated('Use encryptionCipher instead') List<int>? encryptionKey,
});