isThisYear property
bool
get
isThisYear
Check if this date is in the same year as DateTime.now
Implementation
bool get isThisYear => isSameYear(today);
Check if this date is in the same year as DateTime.now
bool get isThisYear => isSameYear(today);