getPresetTour static method

XmlDocumentFragment getPresetTour(
  1. String profileToken, {
  2. required String presetTourToken,
})

XML for the getPresetTour, requires a profileToken and presetTourToken

Implementation

static XmlDocumentFragment getPresetTour(
  String profileToken, {
  required String presetTourToken,
}) {
  builder.element('GetPresetTour', nest: () {
    builder.namespace(Xmlns.tptz);

    ReferenceToken(profileToken).buildXml(builder);

    ReferenceToken(presetTourToken).buildXml(
      builder,
      tag: 'PresetTourToken',
    );
  });

  return builder.buildFragment();
}