PendingModifiedValues.fromXml constructor

PendingModifiedValues.fromXml(
  1. XmlElement elem
)

Implementation

factory PendingModifiedValues.fromXml(_s.XmlElement elem) {
  return PendingModifiedValues(
    authTokenStatus: _s
        .extractXmlStringValue(elem, 'AuthTokenStatus')
        ?.toAuthTokenUpdateStatus(),
    cacheNodeIdsToRemove: _s
        .extractXmlChild(elem, 'CacheNodeIdsToRemove')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'CacheNodeId')),
    cacheNodeType: _s.extractXmlStringValue(elem, 'CacheNodeType'),
    engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
    numCacheNodes: _s.extractXmlIntValue(elem, 'NumCacheNodes'),
  );
}