duration property

Duration get duration

Implementation

Duration get duration => end > start ? end - start : Duration.zero;