take method

DurationRange take(
  1. int count, [
  2. Duration step = const Duration(seconds: 1)
])

Implementation

DurationRange take(int count, [Duration step = const Duration(seconds: 1)]) =>
    DurationRange(this, this + (step * count), step);