operator unary- method
Negates the amount.
Implementation
CurrencyAmount operator -() {
return CurrencyAmount.fromDecimal(-amount, currency: currency);
}
Negates the amount.
CurrencyAmount operator -() {
return CurrencyAmount.fromDecimal(-amount, currency: currency);
}