isToday property

bool get isToday

Returns true if this date is today (ignoring time).

if (appointment.isToday) {
  print('You have an appointment today!');
}

Implementation

bool get isToday => _isSameDay(EasyDateTime.now(location: location));