SecureStorage class

Constructors

SecureStorage()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

containsKey(String key) Future<bool>
delete(String key) Future<void>
deleteAll() Future<void>
migrateSharedPreferencesToSecureStorage() Future<void>
Migrates all non-null key-value pairs from SharedPreferences to FlutterSecureStorage.
read(String key) Future<String?>
readBool(String key) Future<bool?>
write(String key, String value) Future<void>

Constants

storage → const FlutterSecureStorage