SecureStorageAdapter class

The SecureStorageAdapter provides a bridge between the store and the Secure Storage backend

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

clear(String name) Future<void>
Clears a partition
create(String name) → void
Creates a partition
delete(String name) Future<void>
Deletes a partition from a store or the store itself if a partition is stored individually
deleteAll() Future<void>
Deletes the store if a store is implemented in a way that puts all the named stashes in one storage, or stores(s) if multiple storages are used
exists(String name, String key) Future<bool>
Checks if a entry exists
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
partitionKeys(String name) Future<List<String>>
Returns all the partitions keys
partitionMap(String name) Future<Map<String, Map<String, dynamic>?>>
partitionValue(String name, String key) Future<Map<String, dynamic>?>
Returns the partition key value
partitionValues(String name, {Iterable<String>? keys}) Future<List<Map<String, dynamic>?>>
Returns the json maps of the provided keys
put(String name, String key, Map<String, dynamic> value) Future<void>
Adds a value to the partition
remove(String name, String key) Future<void>
Removes a entry by key
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

build({IOSOptions? iOptions, AndroidOptions? aOptions, LinuxOptions? lOptions, WindowsOptions? wOptions, WebOptions? webOptions, MacOsOptions? mOptions}) Future<SecureStorageAdapter>
Builds a SecureStorageAdapter.