InsanichessGameSettings.fromJson constructor
Constructs new InsanichessGameSettings
object from json
.
Implementation
InsanichessGameSettings.fromJson(Map<String, dynamic> json)
: allowUndo = json[InsanichessGameSettingsJsonKey.allowUndo],
alwaysPromoteToQueen =
json[InsanichessGameSettingsJsonKey.alwaysPromoteToQueen],
autoZoomOutOnMove = autoZoomOutOnMoveBehaviourFromJson(
json[InsanichessGameSettingsJsonKey.autoZoomOutOnMove]);