InsanichessSettings.fromJson constructor
Creates new InsanichessSettings
from json
representation.
Implementation
InsanichessSettings.fromJson(Map<String, dynamic> json)
: otb = InsanichessOtbSettings.fromJson(
json[InsanichessSettingsJsonKey.otb]),
live = InsanichessLiveGameSettings.fromJson(
json[InsanichessSettingsJsonKey.live]),
showZoomOutButtonOnLeft =
json[InsanichessSettingsJsonKey.showZoomOutButtonOnLeft],
showLegalMoves = json[InsanichessSettingsJsonKey.showLegalMoves];