buildXml method

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

Implementation

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

      sourceId.buildXml(Transport.builder, tag: 'SourceId');

      name.buildXml(Transport.builder, tag: 'Name');

      location.buildXml(Transport.builder, tag: 'Location');

      description.buildXml(Transport.builder, tag: 'Description');

      address.buildXml(Transport.builder, tag: 'Address');
    });