W3cubDocs

/Dart 2

stdout top-level property

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 {
  _stdout ??= _StdIOUtils._getStdioOutputStream(_stdoutFD);
  return _stdout;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-io/stdout.html