NotificationConfigurationDeprecated.fromXml constructor

NotificationConfigurationDeprecated.fromXml(
  1. XmlElement elem
)

Implementation

factory NotificationConfigurationDeprecated.fromXml(_s.XmlElement elem) {
  return NotificationConfigurationDeprecated(
    cloudFunctionConfiguration: _s
        .extractXmlChild(elem, 'CloudFunctionConfiguration')
        ?.let((e) => CloudFunctionConfiguration.fromXml(e)),
    queueConfiguration: _s
        .extractXmlChild(elem, 'QueueConfiguration')
        ?.let((e) => QueueConfigurationDeprecated.fromXml(e)),
    topicConfiguration: _s
        .extractXmlChild(elem, 'TopicConfiguration')
        ?.let((e) => TopicConfigurationDeprecated.fromXml(e)),
  );
}