refresh method

Future<void> refresh()

Refreshes the rate limiter by saving the current request data to storage.

This method ensures that the request data is persisted, allowing the rate limiter to maintain its state across restarts.

Implementation

Future<void> refresh() async {
  await _saveRequests();
}