SharedKeyRepository class
Constructors
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
-
deleteAllKeys(
) → Future< void> - Delete all shared keys from the database and clear the cache
-
deleteKey(
String userId) → Future< void> - Delete a shared key by user ID
-
getAllKeys(
{String? password}) → Future< Map< String, String> > - Retrieve all keys, decrypt them, and populate the cache
-
getKey(
String userId, {String? password}) → Future< String?> - Retrieve and decrypt the shared key for a specific user
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
upsertKey(
String userId, String? password}) → Future< void> - Store or update an encrypted shared key for a user
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
- columnUserId → const String