CloudFunctionConfiguration.fromXml constructor
CloudFunctionConfiguration.fromXml(
- XmlElement elem
Implementation
factory CloudFunctionConfiguration.fromXml(_s.XmlElement elem) {
return CloudFunctionConfiguration(
cloudFunction: _s.extractXmlStringValue(elem, 'CloudFunction'),
event: _s.extractXmlStringValue(elem, 'Event')?.toEvent(),
events: _s
.extractXmlStringListValues(elem, 'Event')
.map((s) => s.toEvent())
.toList(),
id: _s.extractXmlStringValue(elem, 'Id'),
invocationRole: _s.extractXmlStringValue(elem, 'InvocationRole'),
);
}