nextMonth property

date get nextMonth

Returns the next month.

Implementation

date get nextMonth => DateTime(year, month + 1, day.clampMax(DateUtils.lastDayOfMonth(month + 1, year)));