warning static method

void warning(
  1. String msg
)

Prints a warning message in yellow.

Implementation

static void warning(String msg) =>
    print('$yellow$bold⚠  $reset$yellow$msg$reset');