isSameDate method

bool isSameDate(
  1. DateTime? other
)

Implementation

bool isSameDate(DateTime? other) {
  if (other == null) return false;
  return year == other.year && month == other.month && day == other.day;
}