isToday method

bool isToday()

Returns true if the date is today.

Implementation

bool isToday() => isSameDay(withThis: DateTime.now());