getTotalText method

String getTotalText(
  1. int count,
  2. String word
)

Implementation

String getTotalText(int count, String word) {
  var text = "";
  text += NumberFormat.compact().format(int.parse(count.toString()));
  text += " $word";
  return text;
}