Subscription.fromXml constructor
Subscription.fromXml(
- XmlElement elem
Implementation
factory Subscription.fromXml(_s.XmlElement elem) {
return Subscription(
endpoint: _s.extractXmlStringValue(elem, 'Endpoint'),
owner: _s.extractXmlStringValue(elem, 'Owner'),
protocol: _s.extractXmlStringValue(elem, 'Protocol'),
subscriptionArn: _s.extractXmlStringValue(elem, 'SubscriptionArn'),
topicArn: _s.extractXmlStringValue(elem, 'TopicArn'),
);
}