toJson method
Implementation
Map<String, dynamic> toJson() {
final messageConfig = this.messageConfig;
final nextActivity = this.nextActivity;
final templateName = this.templateName;
final templateVersion = this.templateVersion;
return {
if (messageConfig != null) 'MessageConfig': messageConfig,
if (nextActivity != null) 'NextActivity': nextActivity,
if (templateName != null) 'TemplateName': templateName,
if (templateVersion != null) 'TemplateVersion': templateVersion,
};
}