Stdout represents the IOSink for either stdout
or stderr
.
It provides a blocking IOSink
, so using this to write will block until
the output is written.
In some situations this blocking behavior is undesirable as it does not
provide the same non-blocking behavior as dart:io in general exposes.
Use the property nonBlocking to get an IOSink
which has the non-blocking
behavior.
This class can also be used to check whether stdout
or stderr
is
connected to a terminal and query some terminal properties.