isAfter method

bool isAfter(
  1. TimeOfDay other
)

Implementation

bool isAfter(TimeOfDay other) =>
    hour > other.hour || (hour == other.hour && minute > other.minute);