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