EngineDefaults.fromXml constructor
EngineDefaults.fromXml(
- XmlElement elem
Implementation
factory EngineDefaults.fromXml(_s.XmlElement elem) {
return EngineDefaults(
cacheNodeTypeSpecificParameters: _s
.extractXmlChild(elem, 'CacheNodeTypeSpecificParameters')
?.let((elem) => elem
.findElements('CacheNodeTypeSpecificParameter')
.map((c) => CacheNodeTypeSpecificParameter.fromXml(c))
.toList()),
cacheParameterGroupFamily:
_s.extractXmlStringValue(elem, 'CacheParameterGroupFamily'),
marker: _s.extractXmlStringValue(elem, 'Marker'),
parameters: _s.extractXmlChild(elem, 'Parameters')?.let((elem) => elem
.findElements('Parameter')
.map((c) => Parameter.fromXml(c))
.toList()),
);
}