isSameMinute method
Returns true if the date is in the same minute as other, false otherwise.
Implementation
bool isSameMinute(DateTime other) =>
year == other.year &&
month == other.month &&
day == other.day &&
hour == other.hour &&
minute == other.minute;