writeInRed static method

dynamic writeInRed(
  1. String message
)

writes a message in red.

Implementation

static writeInRed(String message) {
  stdout.writeln('\x1B[91m$message\x1B[0m');
}