removePreset static method
XML for the removePreset, requires a profileToken
and Preset
Implementation
static XmlDocumentFragment removePreset(String profileToken,
{required Preset preset}) {
Transport.builder.element('RemovePreset', nest: () {
Transport.builder.namespace(Xmlns.tptz);
ReferenceToken(profileToken).buildXml(Transport.builder);
preset.referenceToken.buildXml(Transport.builder, tag: 'PresetToken');
});
return Transport.builder.buildFragment();
}