PolyFormatter.compactCurrency constructor
PolyFormatter.compactCurrency({})
A number format for compact currency representations, e.g. "P1.2M" instead of "P1,200,000".
Implementation
factory PolyFormatter.compactCurrency(
{String? locale = 'en',
String? name = poly,
String? symbol = symbol,
int? decimalDigits = 9}) =>
PolyFormatter(
formatter: NumberFormat.compactCurrency(
locale: locale,
name: name,
symbol: symbol,
decimalDigits: decimalDigits));