success static method

void success(
  1. String msg
)

param msg is the message to be logged to the console example:

PLog.success('hello world');

Implementation

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