stdin property
set
stdin
(String line)
The standard input sink.
Implementation
set stdin(String line) {
final stateValue = state.value;
if (stateValue != StockfishState.ready) {
throw StateError('Stockfish is not ready ($stateValue)');
}
_bindings.write(line);
}