toDateRange method
Implementation
DateTimeRange toDateRange([DateTime? date]) {
return DateTimeRange(
start: start.toDateTime(date),
end: end.toDateTime(date),
);
}
DateTimeRange toDateRange([DateTime? date]) {
return DateTimeRange(
start: start.toDateTime(date),
end: end.toDateTime(date),
);
}