isTomorrow method

bool isTomorrow()

Check if DateTime is tomorrow

Implementation

bool isTomorrow() {
  if (this == null) return false;
  DateTime dateTime = DateTime.now().add(const Duration(days: 1));
  return this!.day == dateTime.day &&
      this!.month == dateTime.month &&
      this!.year == dateTime.year;
}