Interval.duration constructor

Interval.duration(
  1. Duration value
)

Implementation

factory Interval.duration(Duration value) =>
    Interval(microseconds: value.inMicroseconds);