Dart
dart:io
Stdout
hasTerminal property
hasTerminal
Dart
dart:io
Stdout
hasTerminal property
Stdout class
Properties
done
encoding
hashCode
hasTerminal
nonBlocking
runtimeType
supportsAnsiEscapes
terminalColumns
terminalLines
Methods
add
addError
addStream
close
flush
noSuchMethod
toString
write
writeAll
writeCharCode
writeln
Operators
operator ==
description
hasTerminal
property
Null safety
bool
hasTerminal
Whether there is a terminal attached to stdout.
Implementation
bool get hasTerminal => _hasTerminal(_fd);