warning static method

void warning(
  1. String msg
)

param msg is the message to be logged to the console

Implementation

static void warning(String msg) {
  if (kDebugMode) developer.log('\x1B[33m$msg\x1B[0m');
}