toJson method

Map<String, dynamic> toJson()

Implementation

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