DescribeGlobalReplicationGroupsResult.fromXml constructor

DescribeGlobalReplicationGroupsResult.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeGlobalReplicationGroupsResult.fromXml(_s.XmlElement elem) {
  return DescribeGlobalReplicationGroupsResult(
    globalReplicationGroups: _s
        .extractXmlChild(elem, 'GlobalReplicationGroups')
        ?.let((elem) => elem
            .findElements('GlobalReplicationGroup')
            .map((c) => GlobalReplicationGroup.fromXml(c))
            .toList()),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}