toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final launchTemplateId = this.launchTemplateId;
  final launchTemplateName = this.launchTemplateName;
  final version = this.version;
  return {
    if (launchTemplateId != null) 'LaunchTemplateId': launchTemplateId,
    if (launchTemplateName != null) 'LaunchTemplateName': launchTemplateName,
    if (version != null) 'Version': version,
  };
}