toJson method
Implementation
Map<String, dynamic> toJson() {
final body = this.body;
final defaultSubstitutions = this.defaultSubstitutions;
final recommenderId = this.recommenderId;
final templateDescription = this.templateDescription;
final tags = this.tags;
return {
if (body != null) 'Body': body,
if (defaultSubstitutions != null)
'DefaultSubstitutions': defaultSubstitutions,
if (recommenderId != null) 'RecommenderId': recommenderId,
if (templateDescription != null)
'TemplateDescription': templateDescription,
if (tags != null) 'tags': tags,
};
}