toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'LifecycleConfiguration',
    nest: () {
      builder.element('Rules', nest: rules!.toXml());
    },
  );
  return builder.buildDocument();
}