toAmount method
Converts the issued currency to an IssuedCurrencyAmount with the specified value.
Implementation
IssuedCurrencyAmount toAmount(String value) {
return IssuedCurrencyAmount(
currency: currency, issuer: issuer, value: value);
}