reciprocal method
Returns the multiplicative inverse of this fraction.
Implementation
Fraction reciprocal() => isNegative ? Fraction._(-b, -a) : Fraction._(b, a);
Returns the multiplicative inverse of this fraction.
Fraction reciprocal() => isNegative ? Fraction._(-b, -a) : Fraction._(b, a);