isThisYear property

bool isThisYear

Check if this date is in the same year than Date.today

Implementation

bool get isThisYear => isSameYear(Date.today());