setAccountCache method
Implementation
Future<void> setAccountCache(
String accPubKey, String key, Object value) async {
Map? data = await (getObject(key) as FutureOr<Map<dynamic, dynamic>?>);
if (data == null) {
data = {};
}
data[accPubKey] = value;
setObject(key, data);
}