get method
Retrieves cached response from the given key.
Implementation
@override
Future<CacheResponse?> get(String key) async {
final resp = await primary.get(key);
if (resp != null) return resp;
return secondary.get(key);
}
Retrieves cached response from the given key.
@override
Future<CacheResponse?> get(String key) async {
final resp = await primary.get(key);
if (resp != null) return resp;
return secondary.get(key);
}