endOfThisYear static method

DateTime endOfThisYear()

End of the current year in the local timezone

Implementation

static DateTime endOfThisYear() => DateTime.now().endOfYear();