toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final body = this.body;
final crmExperimentIds = this.crmExperimentIds;
final docId = this.docId;
final docType = this.docType;
final dontShowNotification = this.dontShowNotification;
final iconUrl = this.iconUrl;
final isDocumentMature = this.isDocumentMature;
final kind = this.kind;
final notificationGroup = this.notificationGroup;
final notificationType = this.notificationType;
final pcampaignId = this.pcampaignId;
final reason = this.reason;
final showNotificationSettingsAction = this.showNotificationSettingsAction;
final targetUrl = this.targetUrl;
final timeToExpireMs = this.timeToExpireMs;
final title = this.title;
return {
'body': ?body,
'crmExperimentIds': ?crmExperimentIds,
'doc_id': ?docId,
'doc_type': ?docType,
'dont_show_notification': ?dontShowNotification,
'iconUrl': ?iconUrl,
'is_document_mature': ?isDocumentMature,
'kind': ?kind,
'notificationGroup': ?notificationGroup,
'notification_type': ?notificationType,
'pcampaign_id': ?pcampaignId,
'reason': ?reason,
'show_notification_settings_action': ?showNotificationSettingsAction,
'targetUrl': ?targetUrl,
'timeToExpireMs': ?timeToExpireMs,
'title': ?title,
};
}