copyWith method
Implementation
DateInterval copyWith({Date? newStart, Date? newEnd}) => DateInterval(start: newStart ?? start, end: newEnd ?? end);
DateInterval copyWith({Date? newStart, Date? newEnd}) => DateInterval(start: newStart ?? start, end: newEnd ?? end);