Where @Secure preference fields are persisted.
BasePreferences writes secure values through this interface. The default
is FlutterSecureStore (Keychain / Keystore). Register a different
implementation with PreferencesStorage.registerSecureStore before the
first init() call, for example on a platform where
flutter_secure_storage has no implementation, or in tests.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
String key) → Future< void> -
Removes
key. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
Returns the stored value for
key, ornullwhen there is none. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
Stores
valueunderkey, replacing any previous value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited