makeMove method

void makeMove({
  1. required String from,
  2. required String to,
})

Makes move on the board

Implementation

void makeMove({required String from, required String to}) {
  game.move({"from": from, "to": to});
  notifyListeners();
}