initCurrentGame method
void
initCurrentGame()
Implementation
void initCurrentGame() {
if (widget.game == null) {
currentGame = widget.gameFactory!.call();
widget._initializeGame(currentGame);
} else {
currentGame = widget.game!;
}
initGameStateListener(currentGame, _onGameStateChange);
_loaderFuture = null;
}