stdout top-level property Null safety

Stdout stdout

The standard output stream of data written by this program.

The addError API is inherited from StreamSink and calling it will result in an unhandled asynchronous error unless there is an error handler on done.

Implementation

Stdout get stdout {
  return IOOverrides.current?.stdout ?? _stdout;
}