DefaultClusterParameters.fromXml constructor

DefaultClusterParameters.fromXml(
  1. XmlElement elem
)

Implementation

factory DefaultClusterParameters.fromXml(_s.XmlElement elem) {
  return DefaultClusterParameters(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    parameterGroupFamily:
        _s.extractXmlStringValue(elem, 'ParameterGroupFamily'),
    parameters: _s.extractXmlChild(elem, 'Parameters')?.let((elem) => elem
        .findElements('Parameter')
        .map((c) => Parameter.fromXml(c))
        .toList()),
  );
}