ReplicationGroupPendingModifiedValues.fromXml constructor
ReplicationGroupPendingModifiedValues.fromXml(
- XmlElement elem
Implementation
factory ReplicationGroupPendingModifiedValues.fromXml(_s.XmlElement elem) {
return ReplicationGroupPendingModifiedValues(
authTokenStatus: _s
.extractXmlStringValue(elem, 'AuthTokenStatus')
?.toAuthTokenUpdateStatus(),
automaticFailoverStatus: _s
.extractXmlStringValue(elem, 'AutomaticFailoverStatus')
?.toPendingAutomaticFailoverStatus(),
primaryClusterId: _s.extractXmlStringValue(elem, 'PrimaryClusterId'),
resharding: _s
.extractXmlChild(elem, 'Resharding')
?.let((e) => ReshardingStatus.fromXml(e)),
userGroups: _s
.extractXmlChild(elem, 'UserGroups')
?.let((e) => UserGroupsUpdateStatus.fromXml(e)),
);
}