PrfRolloverCounter constructor
Constructs a PrfRolloverCounter with a unique key
and a specified
resetEvery
duration. Optionally, caching can be enabled with useCache
.
key
: A unique identifier for the counter.resetEvery
: The duration after which the counter resets.useCache
: Optional parameter to enable caching.
Implementation
PrfRolloverCounter(super.key, {required this.resetEvery, super.useCache})
: super(suffix: 'roll');