toJson method
Converts this object to json representation.
Implementation
@override
Map<String, Object?> toJson() {
return <String, dynamic>{
InsanichessSettingsJsonKey.otb: otb.toJson(),
InsanichessSettingsJsonKey.live: live.toJson(),
InsanichessSettingsJsonKey.showZoomOutButtonOnLeft:
showZoomOutButtonOnLeft,
InsanichessSettingsJsonKey.showLegalMoves: showLegalMoves,
};
}