writeInGreen static method

dynamic writeInGreen(
  1. String message
)

writes a message in green.

Implementation

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