isEqual method
Returns true
if this time is equal to other
.
Example
final t1 = LocalTime(9, 5, 3);
final t2 = LocalTime(9, 5, 3);
print(t1.isEqual(t2)); // true
print(t2.isEqual(t1)); // true
Implementation
bool isEqual(LocalTime other) => compareTo(other).isEqualTo(0);