NodeSnapshot.fromXml constructor
NodeSnapshot.fromXml(
- XmlElement elem
Implementation
factory NodeSnapshot.fromXml(_s.XmlElement elem) {
return NodeSnapshot(
cacheClusterId: _s.extractXmlStringValue(elem, 'CacheClusterId'),
cacheNodeCreateTime:
_s.extractXmlDateTimeValue(elem, 'CacheNodeCreateTime'),
cacheNodeId: _s.extractXmlStringValue(elem, 'CacheNodeId'),
cacheSize: _s.extractXmlStringValue(elem, 'CacheSize'),
nodeGroupConfiguration: _s
.extractXmlChild(elem, 'NodeGroupConfiguration')
?.let((e) => NodeGroupConfiguration.fromXml(e)),
nodeGroupId: _s.extractXmlStringValue(elem, 'NodeGroupId'),
snapshotCreateTime:
_s.extractXmlDateTimeValue(elem, 'SnapshotCreateTime'),
);
}