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