removePresetTour static method
XML for the removePresetTour, requires a profileToken
and presetTour
Implementation
static XmlDocumentFragment removePresetTour(String profileToken,
{required PresetTour presetTour}) {
builder.element('RemovePresetTour', nest: () {
builder.namespace(Xmlns.tptz);
ReferenceToken(profileToken).buildXml(builder);
presetTour.referenceToken.buildXml(
builder,
tag: 'PresetTourToken',
);
});
return builder.buildFragment();
}