daysUntil method

int daysUntil(
  1. DateTime other
)

Number of days until another date.

Implementation

int daysUntil(DateTime other) => other.difference(this).inDays;