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