isThisYear property

bool get isThisYear

Check if this date is in the same year as DateTime.now

Implementation

bool get isThisYear => isSameYear(today);