set method

  1. @override
Future<void> set(
  1. CacheResponse response
)
override

Pushes response in store

Implementation

@override
Future<void> set(CacheResponse response) {
  _cache.remove(response.key);
  _cache[response.key] = response;

  return Future.value();
}