isSameDate method

bool isSameDate(
  1. DateTime other
)

Checks if the date is the same as the specified other date, ignoring time.

Implementation

bool isSameDate(DateTime other) => year == other.year && month == other.month && day == other.day;