ChessBoardInterface({this.fen, this.timeLimit, this.onTimeOut}) { initFEN(fen ?? initialFENState); if (timeLimit != null) switchTimer(); }