scale method

CurrencyAmount scale(
  1. num f
)

Multiples this amount with a number.

Implementation

CurrencyAmount scale(num f) {
  return CurrencyAmount.fromDecimal(amount.scale(f), currency: currency);
}