hasTerminal property Null safety

bool hasTerminal

Whether a terminal is attached to stdin.

Implementation

bool get hasTerminal => stdin.hasTerminal;