OrderableDBInstanceOption.fromXml constructor
OrderableDBInstanceOption.fromXml(
- XmlElement elem
Implementation
factory OrderableDBInstanceOption.fromXml(_s.XmlElement elem) {
return OrderableDBInstanceOption(
availabilityZones: _s.extractXmlChild(elem, 'AvailabilityZones')?.let(
(elem) => elem
.findElements('AvailabilityZone')
.map((c) => AvailabilityZone.fromXml(c))
.toList()),
dBInstanceClass: _s.extractXmlStringValue(elem, 'DBInstanceClass'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
licenseModel: _s.extractXmlStringValue(elem, 'LicenseModel'),
vpc: _s.extractXmlBoolValue(elem, 'Vpc'),
);
}