nextDay method

DateTime nextDay(
  1. DateTime d
)

Returns same time in the next day.

Implementation

DateTime nextDay(DateTime d) {
  return copyWith(d, day: d.day + 1);
}