DBSubnetGroup.fromXml constructor
DBSubnetGroup.fromXml(
- XmlElement elem
Implementation
factory DBSubnetGroup.fromXml(_s.XmlElement elem) {
return DBSubnetGroup(
dBSubnetGroupArn: _s.extractXmlStringValue(elem, 'DBSubnetGroupArn'),
dBSubnetGroupDescription:
_s.extractXmlStringValue(elem, 'DBSubnetGroupDescription'),
dBSubnetGroupName: _s.extractXmlStringValue(elem, 'DBSubnetGroupName'),
subnetGroupStatus: _s.extractXmlStringValue(elem, 'SubnetGroupStatus'),
subnets: _s.extractXmlChild(elem, 'Subnets')?.let((elem) =>
elem.findElements('Subnet').map((c) => Subnet.fromXml(c)).toList()),
vpcId: _s.extractXmlStringValue(elem, 'VpcId'),
);
}