listPrint method

void listPrint(
  1. dynamic thisList,
  2. String msg
)

just for to remember this handy .forEach(print) command

Implementation

void listPrint(var thisList, String msg) {
  //  if (operation == ('print')) (thisList.forEach.print());
  //    else (thisList.add(operation));
  print('---------------' + msg);
  thisList.forEach(print);
  print('------------------------------------end');
}