clean method

  1. @override
Future<void> clean (
  1. CachePriority priorityOrBelow
)
override

Implementation

@override
Future<void> clean(CachePriority priorityOrBelow) {
  for (var i = 0; i <= priorityOrBelow.index; i++) {
    _responses.remove(CachePriority.values[i]);
  }
  return Future.value();
}