thousandsSeparator method

String thousandsSeparator({
  1. String separator = ',',
})

for ex. add comma in price

Implementation

String thousandsSeparator({String separator = ','}) {
  return positive.toString().thousandsSeparator(separator: separator);
}