StorageService class

Service for reading and writing encrypted data using FlutterSecureStorage.

Constructors

StorageService()

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

containsKeyInSecureData(String key) → Future<bool>
Returns true if secure storage contains an entry for key.
deleteAllSecureData() → Future<void>
Deletes all entries from secure storage.
deleteSecureData(String key) → Future<void>
Deletes the entry associated with key from secure storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAllSecureData() → Future<List<StorageItem>>
Returns all entries in secure storage as a list of StorageItem.
readSecureData(String key) → Future<String?>
Reads and returns the value stored under key, or null if absent.
toString() → String
A string representation of this object.
inherited
writeSecureData(String key, String value) → Future<void>
Writes value to secure storage under the given key.

Operators

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