isTomorrow property
bool
get
isTomorrow
Returns true if this date is tomorrow.
Example: DateTime.now().isTomorrow -> true.
Implementation
bool get isTomorrow =>
formatYearMonthDay == (DateTime.now() + 1.day).formatYearMonthDay;