yearLastDay property

DateTime get yearLastDay

Implementation

DateTime get yearLastDay => copyWith(month: 12, day: 31).endOfDay;