close method
Stops reading from the input stream.
Implementation
Future<void> close() async {
if (_closed) return;
_closed = true;
await _input.close();
_terminalMode?.restore();
await _flushOutput();
}
Stops reading from the input stream.
Future<void> close() async {
if (_closed) return;
_closed = true;
await _input.close();
_terminalMode?.restore();
await _flushOutput();
}