operator < method

bool operator <(
  1. T other
)

Returns true if this should be ordered strictly before other.

Implementation

bool operator <(T other) => compareTo(other) < 0;