GlobalClusterMember.fromXml constructor

GlobalClusterMember.fromXml(
  1. XmlElement elem
)

Implementation

factory GlobalClusterMember.fromXml(_s.XmlElement elem) {
  return GlobalClusterMember(
    dBClusterArn: _s.extractXmlStringValue(elem, 'DBClusterArn'),
    globalWriteForwardingStatus: _s
        .extractXmlStringValue(elem, 'GlobalWriteForwardingStatus')
        ?.toWriteForwardingStatus(),
    isWriter: _s.extractXmlBoolValue(elem, 'IsWriter'),
    readers: _s
        .extractXmlChild(elem, 'Readers')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}