toXml method

void toXml()

Implementation

void toXml() {
  Transport.builder.element('Track', nest: () {
    Transport.builder.namespace(Xmlns.tt);

    Transport.builder.element('SourceTag', nest: () {
      Transport.builder.namespace(Xmlns.tt);
      Transport.builder.text(sourceTag);
    });

    Transport.builder.element('Destination', nest: () {
      Transport.builder.namespace(Xmlns.tt);
      Transport.builder.text(destination);
    });
  });
}