HiveCookieStorage.migrateFromFileStorage constructor

HiveCookieStorage.migrateFromFileStorage({
  1. required String? fileStorageDir,
  2. String? boxName,
  3. HiveCipher? encryptionCipher,
})

If you were using FileStorage before, you can migrate to HiveCookieStorage by providing the fileStorageDir where the cookies are stored in the FileStorage.

Implementation

HiveCookieStorage.migrateFromFileStorage({
  required this.fileStorageDir,
  this.boxName,
  this.encryptionCipher,
});