isTomorrow property
bool
get
isTomorrow
Check if this DateTime is tomorrow
Example:
final tomorrow = DateTime.now().add(Duration(days: 1));
print(tomorrow.isTomorrow); // true
Implementation
bool get isTomorrow {
final tomorrow = DateTime.now().add(const Duration(days: 1));
return year == tomorrow.year &&
month == tomorrow.month &&
day == tomorrow.day;
}