CurrencyAmount.usd constructor

CurrencyAmount.usd(
  1. String s
)

A shorthand for constructing amounts of Currency.usd.

Implementation

factory CurrencyAmount.usd(String s) {
  return CurrencyAmount(s, Currency.usd);
}