toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'CloudFunctionConfiguration',
    nest: () {
      builder.element('CloudFunction', nest: cloudFunction);
      builder.element('Event', nest: event);
      builder.element('Events', nest: events);
      builder.element('Id', nest: id);
      builder.element('InvocationRole', nest: invocationRole);
    },
  );
  return builder.buildDocument();
}