isToday method
Implementation
bool isToday() {
DateTime today = DateTime.now();
DateKey todayKey = DateKey(today.year, today.month, today.day);
return this == todayKey;
}
bool isToday() {
DateTime today = DateTime.now();
DateKey todayKey = DateKey(today.year, today.month, today.day);
return this == todayKey;
}