# toJson method

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})

## Implementation

    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["imageVisible"] = imageVisible;
      obj["titleSelected"] = titleSelected.toJson(config: config);
      obj["subtitleSelected"] = subtitleSelected.toJson(config: config);
      obj["titleDeselected"] = titleDeselected.toJson(config: config);
      obj["subtitleDeselected"] = subtitleDeselected.toJson(config: config);
      obj["backgroundSelected"] = backgroundSelected.toJson(config: config);
      obj["backgroundDeselected"] = backgroundDeselected.toJson(config: config);
      return obj;
    }