warning static method

void warning(
  1. String message
)

Print a warning message in yellow.

Implementation

static void warning(String message) {
  stdout.writeln('$_yellow⚠ $message$_reset');
}