buildXml method

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

Implementation

@override
void buildXml(
  XmlBuilder builder, {
  String tag = 'StreamSetup',
  String? namespace = Xmlns.tt,
}) =>
    builder.element(tag, nest: () {
      builder.namespace(namespace!);

      stream.buildXml(builder, tag: 'Stream');

      // builder.element('Stream', nest: () {
      //   builder.text(stream);
      // });

      transport.buildXml(builder);
    });