warning function

void warning(
  1. dynamic arg1, [
  2. dynamic arg2 = '',
  3. dynamic arg3 = '',
  4. dynamic arg4 = '',
  5. dynamic arg5 = '',
])

prints messages to console with optional arguments using "orange" pen.

Implementation

void warning(
  dynamic arg1, [
  dynamic arg2 = '',
  dynamic arg3 = '',
  dynamic arg4 = '',
  dynamic arg5 = '',
]) {
  final o = _getArgs(arg1, arg2, arg3, arg4, arg5);
  print(orange(o));
}