isToday property

bool get isToday

Returns true if this date is today.

Example: DateTime.now().isToday -> true.

Implementation

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