NodeConfigurationOption.fromXml constructor
NodeConfigurationOption.fromXml(
- XmlElement elem
Implementation
factory NodeConfigurationOption.fromXml(_s.XmlElement elem) {
return NodeConfigurationOption(
estimatedDiskUtilizationPercent:
_s.extractXmlDoubleValue(elem, 'EstimatedDiskUtilizationPercent'),
mode: _s.extractXmlStringValue(elem, 'Mode')?.toMode(),
nodeType: _s.extractXmlStringValue(elem, 'NodeType'),
numberOfNodes: _s.extractXmlIntValue(elem, 'NumberOfNodes'),
);
}