warning static method

void warning(
  1. String message
)

Prints a warning message in yellow with a warning symbol.

Implementation

static void warning(String message) {
  print('$_yellow⚠$_reset $message');
}