printError function

void printError(
  1. String text
)

Implementation

void printError(String text) {
  print('\x1B[31m$text\x1B[0m');
}