isSameTime static method

bool isSameTime(
  1. DateTime a,
  2. DateTime b
)

Implementation

static bool isSameTime(DateTime a, DateTime b) =>
    a.hour == b.hour && a.minute == b.minute;