warn method

void warn(
  1. String message, {
  2. String tag = 'WARN',
})

Implementation

void warn(String message, {String tag = 'WARN'}) {
  stderr.writeln(warningPen('[$tag] $message'));
}