stderr method

  1. @override
void stderr(
  1. String message
)
override

Print an error message.

Implementation

@override
void stderr(String message) {
  if (_currentProgress != null) {
    var progress = _currentProgress!;
    _currentProgress = null;
    progress.cancel();
  }

  io.stderr.writeln(message);
}