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