AllowedNodeTypeModificationsMessage.fromXml constructor

AllowedNodeTypeModificationsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory AllowedNodeTypeModificationsMessage.fromXml(_s.XmlElement elem) {
  return AllowedNodeTypeModificationsMessage(
    scaleDownModifications: _s
        .extractXmlChild(elem, 'ScaleDownModifications')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
    scaleUpModifications: _s
        .extractXmlChild(elem, 'ScaleUpModifications')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}