NotificationConfiguration.fromXml constructor

NotificationConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory NotificationConfiguration.fromXml(_s.XmlElement elem) {
  return NotificationConfiguration(
    lambdaFunctionConfigurations: elem
        .findElements('CloudFunctionConfiguration')
        .map((c) => LambdaFunctionConfiguration.fromXml(c))
        .toList(),
    queueConfigurations: elem
        .findElements('QueueConfiguration')
        .map((c) => QueueConfiguration.fromXml(c))
        .toList(),
    topicConfigurations: elem
        .findElements('TopicConfiguration')
        .map((c) => TopicConfiguration.fromXml(c))
        .toList(),
  );
}