error method
Outputs a String to the console with ConsoleStyle.error.
Implementation
void error(String text, {bool newline = true}) =>
write(text, newline: newline, style: ConsoleStyle.error);
Outputs a String to the console with ConsoleStyle.error.
void error(String text, {bool newline = true}) =>
write(text, newline: newline, style: ConsoleStyle.error);