amount method
A payment amount with its currency, as the payment sheet shows it: "12.50 EUR". amount is in the main unit with a dot, as PaymentContent.amount gives it. Apps call amountOf(amount, currency), which also covers a missing amount or currency.
In en, this message translates to: '{amount} {currency}'
Implementation
@override
String amount(String amount, String currency) {
return '$amount $currency';
}