isToday property
bool
get
isToday
Returns true if this date represents today.
Implementation
bool get isToday {
final now = DateTime.now();
return isSameDay(now);
}
Returns true if this date represents today.
bool get isToday {
final now = DateTime.now();
return isSameDay(now);
}