boxConfig method
Creates a BoxConfig for this BoxType with the given parameters.
Example:
final config = BoxType.lazy.boxConfig('myBox', encryptionCipher: cipher);
Implementation
BoxConfig boxConfig(
String name, {
HiveCipher? encryptionCipher,
bool crashRecovery = true,
String? path,
String? collection,
LogHandler? logger,
}) =>
BoxConfig(
name,
type: this,
encryptionCipher: encryptionCipher,
crashRecovery: crashRecovery,
path: path,
collection: collection,
logger: logger,
);