RetryExecutor constructor
RetryExecutor({
- Random? random,
Creates a RetryExecutor.
random is injectable for deterministic testing.
Implementation
RetryExecutor({Random? random}) : _random = random ?? Random();