AndroidOptions constructor
const
AndroidOptions({
- bool resetOnError = false,
- KeyCipherAlgorithm keyCipherAlgorithm = KeyCipherAlgorithm.RSA_ECB_PKCS1Padding,
- StorageCipherAlgorithm storageCipherAlgorithm = StorageCipherAlgorithm.AES_CBC_PKCS7Padding,
- 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;