OrderableDBInstanceOptionsMessage.fromXml constructor

OrderableDBInstanceOptionsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory OrderableDBInstanceOptionsMessage.fromXml(_s.XmlElement elem) {
  return OrderableDBInstanceOptionsMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    orderableDBInstanceOptions: _s
        .extractXmlChild(elem, 'OrderableDBInstanceOptions')
        ?.let((elem) => elem
            .findElements('OrderableDBInstanceOption')
            .map((c) => OrderableDBInstanceOption.fromXml(c))
            .toList()),
  );
}