ApplicationVersionLifecycleConfig.fromXml constructor

ApplicationVersionLifecycleConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory ApplicationVersionLifecycleConfig.fromXml(_s.XmlElement elem) {
  return ApplicationVersionLifecycleConfig(
    maxAgeRule: _s
        .extractXmlChild(elem, 'MaxAgeRule')
        ?.let((e) => MaxAgeRule.fromXml(e)),
    maxCountRule: _s
        .extractXmlChild(elem, 'MaxCountRule')
        ?.let((e) => MaxCountRule.fromXml(e)),
  );
}