static String addLineList(List lines) { String line = ''; int counter = 0; for (var item in lines) { line += addLine('(${counter++}) ${item.toString()}'); } return line; }