equals method
Compares this local time with the specified one for equality, by checking whether the two values represent the exact same local time, down to the tick.
other
: The other local time to compare this one with
Returns: True if the specified time is equal to this one; false otherwise
Implementation
bool equals(LocalTime other) => this == other;