theDayAfter function Null safety

DateTime theDayAfter(
  1. DateTime currentDate
)

Return the day after currentDate

Implementation

DateTime theDayAfter(DateTime currentDate) {
  return currentDate.add(1.d);
}