toMixedFraction method

MixedFraction toMixedFraction()

Converts the string into a Fraction.

If you want to be sure that this method doesn't throw a MixedFractionException object, use isFraction before.

Implementation

MixedFraction toMixedFraction() => MixedFraction.fromString(this);