totalTime property
Time
get
totalTime
Returns the duration of the interval.
This will always be a non-negative duration, though it may be zero.
- StateError: The interval extends to the start or end of time.
Implementation
Time get totalTime => start.timeUntil(end);