isToday property

bool isToday

今日かどうか

Implementation

bool get isToday {
  final now = DateTime.now();
  return year == now.year && month == now.month && day == now.day;
}