Update: 2026-05-07 03:06:15
This commit is contained in:
@@ -26,4 +26,13 @@ class SecureStorage {
|
||||
Future<void> clearAll() async {
|
||||
await _storage.deleteAll();
|
||||
}
|
||||
|
||||
// Generic read/write for user profile data
|
||||
Future<void> write(String key, String value) async {
|
||||
await _storage.write(key: key, value: value);
|
||||
}
|
||||
|
||||
Future<String?> read(String key) async {
|
||||
return await _storage.read(key: key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user