teeToStderr property
Returns a stream that emits the same events as this one, but also prints each string to currentStderr.
This is primarily intended for debugging.
Implementation
Stream<String> get teeToStderr => map((line) {
currentStderr.writeln(line);
return line;
});