toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final templateArn = this.templateArn;
  final templateData = this.templateData;
  final templateName = this.templateName;
  return {
    if (templateArn != null) 'TemplateArn': templateArn,
    if (templateData != null) 'TemplateData': templateData,
    if (templateName != null) 'TemplateName': templateName,
  };
}