formatCurrency method
Format currency with symbol
Implementation
String formatCurrency(
double amount,
String currencyCode, {
int decimalPlaces = 2,
}) {
return currency.formatCurrency(
amount,
currencyCode,
decimalPlaces: decimalPlaces,
);
}