AndroidOptions class

Inheritance
  • Object
  • Options
  • AndroidOptions

Constructors

AndroidOptions({bool encryptedSharedPreferences = false, bool resetOnError = false, KeyCipherAlgorithm keyCipherAlgorithm = KeyCipherAlgorithm.RSA_ECB_PKCS1Padding, StorageCipherAlgorithm storageCipherAlgorithm = StorageCipherAlgorithm.AES_CBC_PKCS7Padding, String? sharedPreferencesName, String? preferencesKeyPrefix})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
params Map<String, String>
no setterinherited
preferencesKeyPrefix String?
The prefix for a shared preference key. The prefix is used to make sure the key is unique to your application. If not provided, a default prefix will be used.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedPreferencesName String?
The name of the sharedPreference database to use. You can select your own name if you want. A default name will be used if nothing is provided here.
final

Methods

copyWith({bool? encryptedSharedPreferences, bool? resetOnError, KeyCipherAlgorithm? keyCipherAlgorithm, StorageCipherAlgorithm? storageCipherAlgorithm, String? preferencesKeyPrefix, String? sharedPreferencesName}) AndroidOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, String>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultOptions → const AndroidOptions