addToStderr method

void addToStderr(
  1. String line
)

adds the line to the stderr controller

Implementation

void addToStderr(String line) {
  if (!_closed) {
    _stderrController.sink.add(line);
  } else {
    verbose(() => 'addToStderr called after stream closed: line=$line');
  }
}