get method

  1. @override
Future<CacheResponse> get (
  1. String key
)
override

Implementation

@override
Future<CacheResponse> get(String key) {
  return Future.value(_responses.entries.expand((x) => x.value).firstWhere((x) => x.key == key, orElse: () => null));
}