toAmount method

IssuedCurrencyAmount toAmount(
  1. String value
)

Converts the issued currency to an IssuedCurrencyAmount with the specified value.

Implementation

IssuedCurrencyAmount toAmount(String value) {
  return IssuedCurrencyAmount(
      currency: currency, issuer: issuer, value: value);
}