compactCurrencyFormat method

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

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);
}