addResult method
- dynamic winner,
- dynamic endState
Implementation
void addResult(var winner, var endState) {
this.winner = winner ?? "Empate";
this.endState = endState ?? "Este mensaje no deberÃas poder leerlo";
}
void addResult(var winner, var endState) {
this.winner = winner ?? "Empate";
this.endState = endState ?? "Este mensaje no deberÃas poder leerlo";
}