endOfMonth property

DateTime get endOfMonth

Last day of the month, end of day.

Implementation

DateTime get endOfMonth => DateTime(year, month + 1, 0, 23, 59, 59, 999);