FlutterSecureStorage class Null safety

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

Operators

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