copyWith method
Creates a new ZdsDateTimeRange from this one by updating individual properties.
Implementation
ZdsDateTimeRange copyWith({DateTime? start, DateTime? end}) {
return ZdsDateTimeRange(start: start ?? this.start, end: end ?? this.end);
}