LaunchTemplate.fromXml constructor
LaunchTemplate.fromXml(
- XmlElement elem
Implementation
factory LaunchTemplate.fromXml(_s.XmlElement elem) {
return LaunchTemplate(
launchTemplateSpecification: _s
.extractXmlChild(elem, 'LaunchTemplateSpecification')
?.let((e) => LaunchTemplateSpecification.fromXml(e)),
overrides: _s.extractXmlChild(elem, 'Overrides')?.let((elem) => elem
.findElements('member')
.map((c) => LaunchTemplateOverrides.fromXml(c))
.toList()),
);
}