StorageAdapter class Null safety

Class to Controll the Flutter Secure Storage

Class to store data in sharedPreferences which encrypt keys and values It handles AES encryption to generate a secret key encrypted with RSA and stored in KeyStore.

Constructors

StorageAdapter()

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

deleteAll() → void
deletes the items in the storage
getElementwithkey(String key) String
Search in the _SecItem List _items after the key and return the value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
readAll() Future<bool>
read all Elements in the Storage and load them in the List _items
readFromSecureStorage(String key) Future<_SecItem?>
read Element with key from Flutter Storage
toString() String
A string representation of this object. [...]
inherited
updateElementwithKey(String key, String value) Future<void>
Update Element in the Flutter Storage and in the private Variablelist _items
writeToSecureStorage(_SecItem secitem) Future<void>
Write Element to the Storage

Operators

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