Caches response under provided key.
response
key
FutureOr<void> write(CacheKey? key, Response? response);