getCategoryNames function

String getCategoryNames(
  1. List<String> ids
)

Implementation

String getCategoryNames(List<String> ids){
  var _text = "";
  for (var item in ids) {
    var t = getCategoryNameById(item);
    if (t.isNotEmpty){
      if (_text.isNotEmpty)
        _text = "$_text, ";
      _text = "$_text$t";
    }
  }
  return _text;
}