read method
The keys of atsign's document with the derived APKAM pair filed. The
first read of a store that was not seeded goes to the atServer; every
later one is served from memory, as keys the caller may change.
Implementation
@override
Future<AtKeys> read(String atsign) async {
_requireStoreAtsign(atsign);
_requireLive();
var cache = _cache;
if (cache == null) {
final document = _stripped(await _decode(atsign, await _stored(atsign)));
_requireLive();
cache = _cache ??= jsonEncode(document);
}
return _withPair(jsonDecode(cache) as Map<String, dynamic>, atsign);
}