operator < method

bool operator <(
  1. covariant Product other
)

Returns if this instance is less than the other.

Implementation

bool operator <(covariant Product other) => compareTo(other) < 0;