operator - method
Difference between two mixed fractions.
Implementation
MixedFraction operator -(MixedFraction other) {
final result = other.toFraction() - toFraction();
return result.toMixedFraction();
}
Difference between two mixed fractions.
MixedFraction operator -(MixedFraction other) {
final result = other.toFraction() - toFraction();
return result.toMixedFraction();
}