operator == method
Checks if another object is a LocalTime with the same values.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is LocalTime &&
hour.isEqualTo(other.hour) &&
minute.isEqualTo(other.minute) &&
second.isEqualTo(other.second) &&
millisecond.isEqualTo(other.millisecond);
}