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'),
defaultCharacterSet: _s
.extractXmlChild(elem, 'DefaultCharacterSet')
?.let((e) => CharacterSet.fromXml(e)),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
supportedCharacterSets: _s
.extractXmlChild(elem, 'SupportedCharacterSets')
?.let((elem) => elem
.findElements('CharacterSet')
.map((c) => CharacterSet.fromXml(c))
.toList()),
);
}