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