flipBoard method

dynamic flipBoard()

Implementation

flipBoard() {
  _chessboard.whiteTowardUser = !_chessboard.whiteTowardUser;
}