startOfYear property

DateTime get startOfYear

Returns the start of the current year.

Implementation

DateTime get startOfYear => firstDayOfYear.startOfDay;