RateLimitConfig constructor

const RateLimitConfig({
  1. Duration window = const Duration(seconds: 1),
  2. int maxEvents = 100,
})

Implementation

const RateLimitConfig({
  this.window = const Duration(seconds: 1),
  this.maxEvents = 100,
});