isTomorrow method

bool isTomorrow()

Check if the DateTime is tomorrow.

Implementation

bool isTomorrow() {
  final tomorrow = DateTime.now().add(const Duration(days: 1));
  return year == tomorrow.year &&
      month == tomorrow.month &&
      day == tomorrow.day;
}