buildXml method

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

Implementation

@override
void buildXml(
  XmlBuilder builder, {
  String tag = 'AppSequence',
  String? namespace,
}) =>
    builder.element(
      tag,
      namespaces: {Xmlns.ws: 'ws'},
      nest: () {
        builder.attribute(
          'MessageNumber',
          messageNumber,
        );

        builder.attribute(
          'InstanceId',
          instanceId,
        );
      },
    );