duration property

Duration get duration

Returns a Duration of the time between start and end.

See DateTime.difference for more details.

Implementation

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