toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (name != null) 'name': name,
if (jurisdiction != null) 'jurisdiction': jurisdiction,
if (url != null) 'url': url,
if (urlDataProcessingConsent != null) 'url_data_processing_consent': urlDataProcessingConsent,
if (urlTerms != null) 'url_terms': urlTerms,
if (urlPrivacy != null) 'url_privacy': urlPrivacy,
if (textDataProcessingConsent != null) 'text_data_processing_consent': textDataProcessingConsent,
if (urlIcon != null) 'url_icon': urlIcon,
if (urlLogo != null) 'url_logo': urlLogo,
if (brandColor != null) 'brand_color': brandColor,
if (accentColor != null) 'accent_color': accentColor,
if (webSdkReturnUrl != null) 'web_sdk_return_url': webSdkReturnUrl,
};
}