invert method

Fraction invert()

Implementation

Fraction invert() {
  return Fraction(denominator, denominator: numerator);
}