copyWith method
Implementation
DateTimeRange copyWith({
DateTime? start,
DateTime? end,
}) {
return DateTimeRange(
start ?? this.start,
end ?? this.end,
);
}
DateTimeRange copyWith({
DateTime? start,
DateTime? end,
}) {
return DateTimeRange(
start ?? this.start,
end ?? this.end,
);
}