endDate property

date get endDate

Gets the end date of the date range.

Implementation

date get endDate => _dates.max;
set endDate (date value)

Sets the end date of the date range.

Implementation

set endDate(date value) {
  _dates = [..._dates, value];
  _dates = [_dates.min, _dates.max];
}