isToday property
bool
get
isToday
Implementation
bool get isToday {
final now = DateTime.now().toLocal();
return now.day == day && now.month == month && now.year == year;
}
bool get isToday {
final now = DateTime.now().toLocal();
return now.day == day && now.month == month && now.year == year;
}