AndroidOptions constructor

const AndroidOptions({
  1. bool encryptedSharedPreferences = false,
  2. bool resetOnError = false,
  3. KeyCipherAlgorithm keyCipherAlgorithm = KeyCipherAlgorithm.RSA_ECB_PKCS1Padding,
  4. StorageCipherAlgorithm storageCipherAlgorithm = StorageCipherAlgorithm.AES_CBC_PKCS7Padding,
  5. String? sharedPreferencesName,
  6. String? preferencesKeyPrefix,
})

Implementation

const AndroidOptions({
  bool encryptedSharedPreferences = false,
  bool resetOnError = false,
  KeyCipherAlgorithm keyCipherAlgorithm =
      KeyCipherAlgorithm.RSA_ECB_PKCS1Padding,
  StorageCipherAlgorithm storageCipherAlgorithm =
      StorageCipherAlgorithm.AES_CBC_PKCS7Padding,
  this.sharedPreferencesName,
  this.preferencesKeyPrefix,
})  : _encryptedSharedPreferences = encryptedSharedPreferences,
      _resetOnError = resetOnError,
      _keyCipherAlgorithm = keyCipherAlgorithm,
      _storageCipherAlgorithm = storageCipherAlgorithm;