inverse property

Rational inverse

Implementation

Rational get inverse => Rational(denominator, numerator);