W3cubDocs

/Dart 2

echoMode property

bool echoMode

Check if echo mode is enabled on stdin.

Implementation

external bool get echoMode;
void echoMode= (bool enabled)

Enable or disable echo mode on stdin.

If disabled, input from to console will not be echoed.

Default depends on the parent process, but usually enabled.

On Windows this mode can only be enabled if lineMode is enabled as well.

Implementation

external void set echoMode(bool enabled);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/Stdin/echoMode.html