duration property

Duration get duration

The duration of this time slot.

Implementation

Duration get duration => end.difference(start);