ApplicationResourceLifecycleConfig.fromXml constructor

ApplicationResourceLifecycleConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory ApplicationResourceLifecycleConfig.fromXml(_s.XmlElement elem) {
  return ApplicationResourceLifecycleConfig(
    serviceRole: _s.extractXmlStringValue(elem, 'ServiceRole'),
    versionLifecycleConfig: _s
        .extractXmlChild(elem, 'VersionLifecycleConfig')
        ?.let((e) => ApplicationVersionLifecycleConfig.fromXml(e)),
  );
}