isToday method

bool isToday(
  1. DateTime day
)

Implementation

bool isToday(DateTime day) {
  return _isSameDay(day, DateTime.now());
}