ExchangeRate.fromFixedWithCurrency constructor
ExchangeRate.fromFixedWithCurrency(})
Create an exchange rate from a Fixed decimal.
If supplied the toDecimalDigits sets the decimalDigits of the resulting Money amount. If not supplied then the toCurrency's decimalDigits is used.
Implementation
ExchangeRate.fromFixedWithCurrency(this.exchangeRate,
{required this.fromCurrency,
required this.toCurrency,
this.toDecimalDigits});