isAfterDate method

bool isAfterDate(
  1. DateTime other
)

Checks if this is after the date of other, ignoring time.

Implementation

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