startOfThisYear static method

DateTime startOfThisYear()

Start of the current year in the local timezone

Implementation

static DateTime startOfThisYear() => DateTime.now().startOfYear();