isToday property

bool get isToday

Returns true if this date is today.

Implementation

bool get isToday {
  final now = DateTime.now().toUtc().add(App.timezone.offset);
  return year == now.year && month == now.month && day == now.day;
}