retrieve method
Retrieves cached value from the cache using its key. If value is missing in the cache or expired it returns null.
correlationId
(optional) transaction id to trace execution through call chain.key
a unique value key. Return Future that receives cached value. Throws error
Implementation
@override
Future<dynamic> retrieve(String? correlationId, String key) async {
if (!_checkOpened(correlationId)) return;
return await _client!.get(key);
}