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