const Interval(Duration duration)

Source

const Interval(this.duration);