operator > method

bool operator >(
  1. Fraction other
)

Checks whether this fraction is greater than the other.

Implementation

bool operator >(Fraction other) => toDouble() > other.toDouble();