isToday static method

bool isToday(
  1. DateTime date
)

Implementation

static bool isToday(DateTime date) {
  return isSameDay(DateTime.now(), date);
}