operator > method

bool operator >(
  1. Rational other
)

Whether this number is numerically greater than other.

Implementation

bool operator >(Rational other) => compareTo(other) > 0;