Creates a new ExpBackoff instance with optional delay and maxDelay parameters.
ExpBackoff({ this.delay = defaultDelay, this.maxDelay = defaultMaxDelay, });