addLineList static method

String addLineList(
  1. List lines
)

Implementation

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