setResult method

void setResult(
  1. ChessResult result
)

add a move to the move history

Implementation

void setResult(ChessResult result) {
  value.result = result;
  notifyListeners();
}