w static method

void w(
  1. Object? msg, {
  2. String? tag,
  3. StackTrace? stackTrace,
  4. int level = 1,
})

Implementation

static void w(
  Object? msg, {
  String? tag,
  StackTrace? stackTrace,
  int level = 1,
}) {
  final track = tag ?? _trackStackTraceId(StackTrace.current, level);
  _log(
    msg: msg,
    track: track,
    stackTrace: stackTrace,
    level: ' W ',
    levelColor: _yellow,
  );
}