Tests if this object is close to another object.
@override bool closeTo(Fraction other, num epsilon) => isFinite && other.isFinite && (toDouble() - other.toDouble()).abs() <= epsilon;