formatAsSimpleCurrency method
Formats the number as simple currency with the given locale and name.
Implementation
String formatAsSimpleCurrency({
String? locale,
String? name,
int? decimalDigits,
}) {
return NumberFormat.simpleCurrency(
locale: locale,
name: name,
decimalDigits: decimalDigits,
).format(this);
}