error function
void
error(
- dynamic arg1, [
- dynamic arg2 = '',
- dynamic arg3 = '',
- dynamic arg4 = '',
- dynamic arg5 = '',
- dynamic arg6 = '',
- dynamic arg7 = '',
- dynamic arg8 = '',
- dynamic arg9 = '',
- dynamic arg10 = '',
prints messages to console with optional arguments using "red" pen.
Implementation
void error(
dynamic arg1, [
dynamic arg2 = '',
dynamic arg3 = '',
dynamic arg4 = '',
dynamic arg5 = '',
dynamic arg6 = '',
dynamic arg7 = '',
dynamic arg8 = '',
dynamic arg9 = '',
dynamic arg10 = '',
]) {
final o =
_getArgs(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
print(red(o));
}