greaterThan method

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

Implementation

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