error static method

void error(
  1. String msg
)

Implementation

static void error(String msg) {
  const sep = '\n';
  // to check: ⚠ ❌✖✕
  msg = '✖ ' + _penError(msg.trim());
  msg = sep + msg + sep;
  print(msg);
}