clean method
Removes all keys from store.
priorityOrBelow
flag will remove keys only for the priority or below.
staleOnly
flag will remove keys only if expired
(from maxStale).
By default, all keys will be removed.
Implementation
@override
Future<void> clean({
CachePriority priorityOrBelow = CachePriority.high,
bool staleOnly = false,
}) {
return _db.dioCacheDao.clean(
priorityOrBelow: priorityOrBelow,
staleOnly: staleOnly,
);
}