amountWithCurrencyToken method
Implementation
@override
Parser amountWithCurrencyToken() =>
super.amountWithCurrencyToken().map((each) {
final e = each as List;
final ccode = e.last.toString();
final currency = currencyList.firstWhere(
(c) => c.code == ccode,
orElse: () => Currency.create(ccode, 2, pattern: '0.00 CCC'),
);
Currencies().register(currency);
return MoneyExt.fromLooseString(
e.first.toString(),
currency,
);
});