getCachedResponse method
Retrieves a response from the cache under the given key.
-
Parameters:
- key: The key of the response to retrieve.
-
Returns: The response associated with the key, or null if the key is not in the cache.
Implementation
dynamic getCachedResponse(String key) {
return _cache.get(key);
}