endOfYear property

DateTime get endOfYear

Returns the end of the current year.

Implementation

DateTime get endOfYear => lastDayOfYear.endOfDay;