listToString function

String listToString(
  1. List<String> ls
)

Implementation

String listToString(List<String> ls) {
  return ls.reduce((value, element) => value + '\n' + element);
}