isSameDay method

bool isSameDay(
  1. DateTime? other
)

Implementation

bool isSameDay(DateTime? other) =>
    other != null &&
    year == other.year &&
    month == other.month &&
    day == other.day;