addToStdout method

void addToStdout(
  1. String line
)

adds the line to the stdout controller

Implementation

void addToStdout(String line) {
  if (!_closed) {
    if (includeStdout) {
      _stdoutController.sink.add(line);
    } else {
      Settings().verbose('addToStdout excluded: line=$line');
    }
  } else {
    Settings().verbose('addToStdout called after stream closed: line=$line');
  }
}