isToday property

bool isToday

Whether the date is today.

Implementation

bool get isToday => _differenceInDays(DateTime.now()) == 0;