RetryScheduler constructor
RetryScheduler({})
Implementation
factory RetryScheduler({
required String token,
required maxBatchSize,
required maxDelayInMs,
required maxCacheSizeBytes,
required clearAfterInMs,
int thresholdInMs = 2000,
int maxRetryCount = 1,
}) {
_instance._init(
token,
maxBatchSize,
maxDelayInMs,
thresholdInMs,
maxRetryCount,
maxCacheSizeBytes,
clearAfterInMs,
);
return _instance;
}