call<T> method
Wraps a read whose answer codec turns into text and back.
key identifies the request and must include everything that changes
its answer: an operation name and its variables, a URL and its body.
Implementation
CachedCall<T> call<T>(
String key,
Future<T> Function() fetch, {
required ApiCacheCodec<T> codec,
}) =>
CachedCall((strategy) => _serve(key, fetch, codec, strategy));