compactCurrencyFormat method
Creates a NumberFormat object as compact simple currency using the string as the currency name, along with the given locale.
Implementation
NumberFormat compactCurrencyFormat({String? locale}) {
return NumberFormat.compactSimpleCurrency(locale: locale, name: this);
}