warn method

void warn(
  1. Object? message
)

Logs message at LogLevel.warning, to the error output, in the theme's CliTheme.warning: a warning is a diagnostic, not a result.

Implementation

void warn(Object? message) =>
    _log(message, LogLevel.warning, theme.warning, toErr: true);