isTomorrow static method

bool isTomorrow(
  1. DateTime other
)

Implementation

static bool isTomorrow(DateTime other) {
  return DateTime.now().year == other.year &&
      DateTime.now().month == other.month &&
      DateTime.now().day + 1 == other.day;
}