isAtSameMinuteAs method

bool isAtSameMinuteAs(
  1. DateTime other
)

Returns true if other is at the same minute as this.

This means the exact minute, including year, month, day and hour.

Does not account for timezones.

Implementation

bool isAtSameMinuteAs(DateTime other) =>
    isAtSameHourAs(other) && minute == other.minute;