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