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