TimeInterval constructor

TimeInterval(
  1. Duration from,
  2. Duration to
)

Implementation

factory TimeInterval(core.Duration from, core.Duration to) =>
    TimeIntervalImpl(from, to);