copyWith method
Implementation
DateTimeRange copyWith({
ValueGetter<DateTime>? start,
ValueGetter<DateTime>? end,
}) {
return DateTimeRange(
start == null ? this.start : start(),
end == null ? this.end : end(),
);
}
DateTimeRange copyWith({
ValueGetter<DateTime>? start,
ValueGetter<DateTime>? end,
}) {
return DateTimeRange(
start == null ? this.start : start(),
end == null ? this.end : end(),
);
}