FlutterSecureStorage class

Constructors

FlutterSecureStorage()
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

containsKey({String key, IOSOptions iOptions, AndroidOptions aOptions}) Future<bool>
Returns true if the storage contains the given key. [...]
delete({String key, IOSOptions iOptions, AndroidOptions aOptions}) Future<void>
Deletes associated value for the given key. [...]
deleteAll({IOSOptions iOptions, AndroidOptions aOptions}) Future<void>
Deletes all keys with associated values. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read({String key, IOSOptions iOptions, AndroidOptions aOptions}) Future<String>
Decrypts and returns the value for the given key or null if key is not in the storage. [...]
readAll({IOSOptions iOptions, AndroidOptions aOptions}) Future<Map<String, String>>
Decrypts and returns all keys with associated values. [...]
toString() String
Returns a string representation of this object.
inherited
write({String key, String value, IOSOptions iOptions, AndroidOptions aOptions}) Future<void>
Encrypts and saves the key with the given value. [...]

Operators

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