warning method
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);