toJson method
Converts a WebhookConversion instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempClientConfig = clientConfig;
final tempConversionReviewVersions = conversionReviewVersions;
if (tempClientConfig != null) {
jsonData['clientConfig'] = tempClientConfig.toJson();
}
jsonData['conversionReviewVersions'] = tempConversionReviewVersions;
return jsonData;
}