duration property

Duration duration

Returns a Duration of the time between start and end.

See Jalali.difference for more details.

Implementation

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