operator - method
Implementation
CurrencyAmount operator -(covariant CurrencyAmount other) {
final subtracted = super.subtract(other);
return CurrencyAmount.fromFractionalAmount(
currency, subtracted.numerator, subtracted.denominator);
}
CurrencyAmount operator -(covariant CurrencyAmount other) {
final subtracted = super.subtract(other);
return CurrencyAmount.fromFractionalAmount(
currency, subtracted.numerator, subtracted.denominator);
}