toCurrencyWithPrefix method

String toCurrencyWithPrefix({
  1. String? lang,
})

Implementation

String toCurrencyWithPrefix({String? lang}) {
  return this == 0 ? toCurrency() : '${this > 0 ? "+" : "-"}${NumberFormat.decimalPattern().format(this)} VND';
}