isAfter method
Returns true if this occurs after other.
The comparison is independent of whether the time is in UTC or in the local time zone.
Implementation
bool isAfter(TimeOfDay other) => DateTime(
2021,
1,
1,
hour,
minute,
second,
).isAfter(DateTime(2021, 1, 1, other.hour, other.minute, other.second));