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,
};
}