isToday property
bool
get
isToday
Returns true if the date is today.
Implementation
bool get isToday {
final now = DateTime.now();
return now.day == day && now.month == month && now.year == year;
}
Returns true if the date is today.
bool get isToday {
final now = DateTime.now();
return now.day == day && now.month == month && now.year == year;
}