sty function

String sty(
  1. List<String> data, {
  2. bool printCharCodes = false,
})

Implementation

String sty(final List<String> data, {bool printCharCodes = false}) {
  List<String> temp = [reset];
  for (String token in data) {
    printCharCodes ? temp.add(token) : temp.add(token.toString());
  }
  temp.add(reset);
  return temp.join();
}