isAfterDate method

bool isAfterDate(
  1. DateTime other
)

Returns true if the date of this occurs after the date of other.

The comparison is independent of whether the time is in UTC or in the local time zone.

Implementation

bool isAfterDate(DateTime other) => dateOnly.isAfter(other.dateOnly);