nextYear property

date get nextYear

Returns the next year.

Implementation

date get nextYear => DateTime(year + 1, month, day);