EC2SecurityGroup.fromXml constructor
EC2SecurityGroup.fromXml(
- XmlElement elem
Implementation
factory EC2SecurityGroup.fromXml(_s.XmlElement elem) {
return EC2SecurityGroup(
eC2SecurityGroupName:
_s.extractXmlStringValue(elem, 'EC2SecurityGroupName'),
eC2SecurityGroupOwnerId:
_s.extractXmlStringValue(elem, 'EC2SecurityGroupOwnerId'),
status: _s.extractXmlStringValue(elem, 'Status'),
tags: _s.extractXmlChild(elem, 'Tags')?.let((elem) =>
elem.findElements('Tag').map((c) => Tag.fromXml(c)).toList()),
);
}