getPrice method

String getPrice()

Implementation

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