toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'id': id,
'merchantId': merchantId,
'name': name,
'host': host,
'platform': platform,
'kwikpassEnabled': kwikpassEnabled,
'isWhatsappOtpLessActive': isWhatsappOtpLessActive,
'isTruecallerActive': isTruecallerActive,
'integrationType': integrationType,
'isLogoutBtnDisabled': isLogoutBtnDisabled,
'popupBreakpoint': popupBreakpoint,
'apiKey': apiKey,
'isPublicAppInstalled': isPublicAppInstalled,
'thirdPartyServiceProviders':
thirdPartyServiceProviders.map((e) => e.toJson()).toList(),
'kpRequestId': kpRequestId,
'customerIntelligenceEnabled': customerIntelligenceEnabled,
'customerIntelligenceMetrics': customerIntelligenceMetrics,
'marketingPopupGlobalLimit': marketingPopupGlobalLimit,
'customerAccountsVersion': customerAccountsVersion,
'rlEnabled': rlEnabled,
'kpAppName': kpAppName,
'isCustomAccountPageEnabled': isCustomAccountPageEnabled,
'isPagePingEnabled': isPagePingEnabled,
'pagePingConfig': pagePingConfig,
'kpFeatures': kpFeatures,
'consentState': consentState,
'isDPDPCompliancePopup': isDPDPCompliancePopup,
'isSilentAuth': isSilentAuth,
'isCustomizePopupHandled': isCustomizePopupHandled,
'isMultiplePlatform': isMultiplePlatform,
'isS2sEventEnabled': isS2sEventEnabled,
'merchantIntegrationType': merchantIntegrationType,
};
}