TimeRange copyWith({ DateTime? start, DateTime? end, }) { return TimeRange( start: start ?? this.start, end: end ?? this.end, ); }