InsanichessOtbSettings.fromJson constructor

InsanichessOtbSettings.fromJson(
  1. Map<String, dynamic> json
)

Creates new InsanichessOtbSettings object from json.

Implementation

InsanichessOtbSettings.fromJson(Map<String, dynamic> json)
    : rotateChessboard = json[InsanichessOtbSettingsJsonKey.rotateChessboard],
      mirrorTopPieces = json[InsanichessOtbSettingsJsonKey.mirrorTopPieces],
      super.fromJson(json);