delayFor method

Duration delayFor()

Implementation

Duration delayFor() =>
    attempts < schedule.length ? schedule[attempts] : schedule.last;