isSameTime method

bool isSameTime(
  1. DateTime other
)

Implementation

bool isSameTime(DateTime other) {
  return hour == other.hour && minute == other.minute;
}