buildXml method

  1. @override
void buildXml(
  1. XmlBuilder builder, {
  2. String tag = 'Envelope',
  3. String? namespace = Xmlns.s,
})
override

Implementation

@override
void buildXml(
  XmlBuilder builder, {
  String tag = 'Envelope',
  String? namespace = Xmlns.s,
}) =>
    builder.element(
      'Envelope',
      namespace: namespace,
      namespaces: {
        Xmlns.s: 's',
        'http://www.w3.org/2005/08/addressing': 'a',
      },
      nest: () {
        header?.buildXml(builder);

        body.buildXml(builder);
      },
    );