gt method

bool gt(
  1. Iterator<U> other
)

Determines if the elements of this Iterator are lexicographically greater than those of another.

Implementation

@pragma("vm:prefer-inline")
bool gt(Iterator<U> other) {
  return cmp(other) > 0;
}