lessThan method

bool lessThan(
  1. T other, {
  2. Comparator<T> comparator = compareNaturalOrder,
})

Implementation

bool lessThan(
  T other, {
  Comparator<T> comparator = compareNaturalOrder,
}) =>
    comparator(this, other) < 0;