getPrice method

String getPrice()

Implementation

String getPrice() {
  final int nums = (this ?? "0").toInt();
  return nums > 0 ? intl.NumberFormat("###,###,###,###,000").format(nums) : "0";
}