symbolCurrencyFormat method
Creates a NumberFormat object as currency using the string as the currency symbol, along with the given locale and optional decimal digits.
Implementation
NumberFormat symbolCurrencyFormat({
String? locale,
int decimalDigits = 2,
}) {
return NumberFormat.currency(
symbol: this,
locale: locale,
decimalDigits: decimalDigits,
);
}