DurationRange constructor

DurationRange(
  1. Duration start,
  2. Duration end
)

Trusts that the given start and end are actually in order. They should both be non-null.

Implementation

DurationRange(this.start, this.end);