duration property

Duration get duration

The number of days between the start and end dates.

Implementation

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