FlutterSecureKeyStore class final
KeyStore backed by FlutterSecureStorage.
On iOS the key is stored in the Keychain. On Android it is stored in EncryptedSharedPreferences (Keystore-backed AES encryption is applied automatically by the plugin).
This class is available only from super_cache_secure_flutter.dart to
avoid pulling dart:ui into pure-Dart / server-side contexts.
- Implemented types
Constructors
- FlutterSecureKeyStore([FlutterSecureStorage? storage])
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> -
Deletes the value stored under
key. No-op if the key is absent.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
Returns the value stored under
key, ornullif the key is absent.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
Stores
valueunderkey, overwriting any existing value.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited