toFormatString method

String toFormatString({
  1. String format = "#.##",
})

Implementation

String toFormatString({String format = "#.##"}) {
  final oCcy = new NumberFormat(format);
  return oCcy.format(this);
}