Rate.perMinute constructor

Rate.perMinute(
  1. int maximum
)

Creates a rate limit per minute.

Implementation

factory Rate.perMinute(int maximum) => Rate(maximum, Duration(minutes: 1));