OhosOptions class
- Inheritance
-
- Object
- Options
- OhosOptions
Constructors
- OhosOptions({bool resetOnError = false, OhosKeyCipherAlgorithm ohosKeyCipherAlgorithm = OhosKeyCipherAlgorithm.RSA_ECB_PKCS1Padding, OhosStorageCipherAlgorithm ohosStorageCipherAlgorithm = OhosStorageCipherAlgorithm.AES_CBC_PKCS7Padding, 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
-
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? resetOnError, OhosKeyCipherAlgorithm? ohosKeyCipherAlgorithm, OhosStorageCipherAlgorithm? ohosStorageCipherAlgorithm, String? preferencesKeyPrefix, }) → OhosOptions -
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 OhosOptions