removeAll method

Future<void> removeAll()

Removes all persisted state from storage.

This completely clears all rate limiter data from persistent storage. Primarily intended for testing and debugging purposes.

Implementation

Future<void> removeAll() async {
  await _tokenCount.remove();
  await _lastRefill.remove();
}