isSameMinute method

bool isSameMinute(
  1. DateTime other
)

Returns true if this date is in the same minute as other.

Implementation

bool isSameMinute(DateTime other) =>
    isSameHour(other) && minute == other.minute;