hasTerminal property

  1. @override
bool get hasTerminal
override

Whether the process is attached to an interactive terminal (both input and output).

Implementation

@override
bool get hasTerminal => _stdout.hasTerminal && _stdin.hasTerminal;