flipBoard method Null safety

dynamic flipBoard()

Implementation

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