warning method

void warning(
  1. String message, {
  2. String? file,
  3. String? line,
  4. String? column,
})

Creates a warning message and prints the message to the log.

You can optionally provide a filename (file), line number (line), and column (column) number where the warning occurred.

Implementation

void warning(
  String message, {
  String? file,
  String? line,
  String? column,
}) =>
    _log('warning', message, file, line, column);