Money.fromDecimalWithCurrency constructor
Implementation
factory Money.fromDecimalWithCurrency(Decimal amount, Currency currency,
{int? decimalDigits}) =>
Money._from(
Fixed.fromDecimal(amount,
scale: decimalDigits ?? currency.decimalDigits),
currency);