Subnet.fromXml constructor
Subnet.fromXml(
- XmlElement elem
Implementation
factory Subnet.fromXml(_s.XmlElement elem) {
return Subnet(
subnetAvailabilityZone: _s
.extractXmlChild(elem, 'SubnetAvailabilityZone')
?.let((e) => AvailabilityZone.fromXml(e)),
subnetIdentifier: _s.extractXmlStringValue(elem, 'SubnetIdentifier'),
subnetStatus: _s.extractXmlStringValue(elem, 'SubnetStatus'),
);
}