isToday static method

bool isToday(
  1. DateTime date
)

Returns true if is today, otherwise false

Implementation

static bool isToday(DateTime date) => date.isToday;