endDate property
Gets the end date of the date range.
Implementation
date get endDate => _dates.max;
Sets the end date of the date range.
Implementation
set endDate(date value) {
_dates = [..._dates, value];
_dates = [_dates.min, _dates.max];
}