cacheResponse method
Stores a response in the cache under the given key.
- Parameters:
- key: The key to store the response under.
- value: The response to store in the cache.
Implementation
void cacheResponse(String key, dynamic value) {
_cache.set(key, value);
}