simpleCurrencyFormat method

NumberFormat simpleCurrencyFormat({
  1. String? locale,
})

Creates a NumberFormat object as simple currency using the string as the currency name, along with the given locale.

Implementation

NumberFormat simpleCurrencyFormat({String? locale}) {
  return NumberFormat.simpleCurrency(locale: locale, name: this);
}