setResult method
add a move to the move history
Implementation
void setResult(ChessResult result) {
value.result = result;
notifyListeners();
}
add a move to the move history
void setResult(ChessResult result) {
value.result = result;
notifyListeners();
}