duration property
Duration
get
duration
Gets the duration of the date range.
Implementation
Duration get duration => endDate.difference(startDate);
Gets the duration of the date range.
Duration get duration => endDate.difference(startDate);