ValidDBInstanceModificationsMessage.fromXml constructor

ValidDBInstanceModificationsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory ValidDBInstanceModificationsMessage.fromXml(_s.XmlElement elem) {
  return ValidDBInstanceModificationsMessage(
    storage: _s.extractXmlChild(elem, 'Storage')?.let((elem) => elem
        .findElements('ValidStorageOptions')
        .map((c) => ValidStorageOptions.fromXml(c))
        .toList()),
    validProcessorFeatures: _s
        .extractXmlChild(elem, 'ValidProcessorFeatures')
        ?.let((elem) => elem
            .findElements('AvailableProcessorFeature')
            .map((c) => AvailableProcessorFeature.fromXml(c))
            .toList()),
  );
}