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