isToday property

bool get isToday

Checks if this date is today.

Example:

print(DateTime.now().isToday); // true

Implementation

bool get isToday => isSameDay(DateTime.now());