compactSimpleCurrency method
format number with intl compactSimpleCurrency format
Implementation
String compactSimpleCurrency({
String? locale,
String? name,
int? decimalDigits,
}) {
if (this == null) return '';
return NumberFormat.compactSimpleCurrency(
locale: locale,
name: name,
decimalDigits: decimalDigits,
).format(this!);
}