formatCurrency function

String formatCurrency(
  1. double? value
)

Implementation

String formatCurrency(double? value) {
  if (value == null) return formatNullable(value);
  return formatNullable(kCurrencyFormatter.format(value));
}