add method

Duration add()

Returns the current stagger duration and then increments the internal index.

The duration is calculated as increment * _index, and the internal index is incremented by 1 after each call.

Implementation

Duration add() => increment * _index++;