toDateTimeRange method
Implementation
DateTimeRange toDateTimeRange() {
return DateTimeRange(
start: DateTime.utc(
start.year,
start.month,
start.day,
),
end: DateTime.utc(
end.year,
end.month,
end.day,
23,
59,
59,
999,
),
);
}