InsanichessLiveGame.fromJson constructor
Creates new InsanichessLiveGame from json
representation.
This object should only be transmitted to user once at the start of the game. A client that accepted the challenge should then query the server for this object. A client that is awaiting challenge accept should query for this object after it finds out that the game is accepted.
Implementation
InsanichessLiveGame.fromJson(Map<String, dynamic> json)
: undoAllowed = json[InsanichessLiveGameJsonKey.undoAllowed],
super.fromJson(json);