compareTo method

int compareTo(
  1. Time other
)

Compares this Time object to other, returning 0 if the values are equal.

A compareTo function returns:

Implementation

int compareTo(Time other) => _dateTime.compareTo(other._dateTime);