copyWith method
AndroidOptions
copyWith({
- bool? resetOnError,
- KeyCipherAlgorithm? keyCipherAlgorithm,
- StorageCipherAlgorithm? storageCipherAlgorithm,
- String? preferencesKeyPrefix,
Implementation
AndroidOptions copyWith({
bool? encryptedSharedPreferences,
bool? resetOnError,
KeyCipherAlgorithm? keyCipherAlgorithm,
StorageCipherAlgorithm? storageCipherAlgorithm,
String? preferencesKeyPrefix,
String? sharedPreferencesName,
}) =>
AndroidOptions(
encryptedSharedPreferences:
encryptedSharedPreferences ?? _encryptedSharedPreferences,
resetOnError: resetOnError ?? _resetOnError,
keyCipherAlgorithm: keyCipherAlgorithm ?? _keyCipherAlgorithm,
storageCipherAlgorithm:
storageCipherAlgorithm ?? _storageCipherAlgorithm,
sharedPreferencesName: sharedPreferencesName,
preferencesKeyPrefix: preferencesKeyPrefix,
);