isTomorrow property
bool
get
isTomorrow
Returns true if this
is the next day
Implementation
bool get isTomorrow {
final date = toLocal();
final now = DateTime.now();
return DateTime(now.year, now.month, now.day + 1) ==
(DateTime(date.year, date.month, date.day));
}