isSameMinute method

bool isSameMinute(
  1. DateTime other
)

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;