ExchangeRate.fromBigIntWithCurrency constructor
ExchangeRate.fromBigIntWithCurrency(})
Implementation
ExchangeRate.fromBigIntWithCurrency(
BigInt exchangeRateMinorUnits, {
required int decimalDigits,
required this.fromCurrency,
required this.toCurrency,
this.toDecimalDigits,
}) {
exchangeRate =
Fixed.fromBigInt(exchangeRateMinorUnits, scale: decimalDigits);
}