toFirstOfYear method

DateTime toFirstOfYear()

Return 1 January of the year

Implementation

DateTime toFirstOfYear() => DateTime(year);