DBEngineVersion.fromXml constructor
DBEngineVersion.fromXml(
- XmlElement elem
Implementation
factory DBEngineVersion.fromXml(_s.XmlElement elem) {
return DBEngineVersion(
dBEngineDescription:
_s.extractXmlStringValue(elem, 'DBEngineDescription'),
dBEngineVersionDescription:
_s.extractXmlStringValue(elem, 'DBEngineVersionDescription'),
dBParameterGroupFamily:
_s.extractXmlStringValue(elem, 'DBParameterGroupFamily'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
exportableLogTypes: _s
.extractXmlChild(elem, 'ExportableLogTypes')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
supportsLogExportsToCloudwatchLogs:
_s.extractXmlBoolValue(elem, 'SupportsLogExportsToCloudwatchLogs'),
validUpgradeTarget: _s.extractXmlChild(elem, 'ValidUpgradeTarget')?.let(
(elem) => elem
.findElements('UpgradeTarget')
.map((c) => UpgradeTarget.fromXml(c))
.toList()),
);
}