dispose method
void
dispose()
Stops the stockfish engine.
Implementation
void dispose() {
final stateValue = state.value;
if (stateValue == StockfishState.ready) {
stdin = 'quit';
}
}
Stops the stockfish engine.
void dispose() {
final stateValue = state.value;
if (stateValue == StockfishState.ready) {
stdin = 'quit';
}
}