HiveLocalStorage constructor

HiveLocalStorage({
  1. FutureOr<String> baseDirFn()?,
  2. List<int>? encryptionKey,
  3. bool? clear,
})

Implementation

HiveLocalStorage({this.baseDirFn, List<int>? encryptionKey, bool? clear})
    : encryptionCipher =
          encryptionKey != null ? HiveAesCipher(encryptionKey) : null,
      clear = clear ?? false;