writeMessage static method
dynamic
writeMessage(
- String message,
- List frames,
- int index, {
- required MessageSeverity severity,
Implementation
static writeMessage(String message, List<dynamic> frames, int index,
{required MessageSeverity severity}) {
stdout.write(
'${ansiEscapes.eraseLine}\r${_ansiColor(frames[index], severity: severity)} '
'${_ansiColor(message, severity: severity)} ${ansiEscapes.cursorHide}',
);
}