getPresets static method

XmlDocumentFragment getPresets(
  1. String profileToken
)

XML for the getPresets, requires a profileToken

Implementation

static XmlDocumentFragment getPresets(String profileToken) {
  Transport.builder.element('GetPresets', nest: () {
    Transport.builder.namespace(Xmlns.tptz);

    ReferenceToken(profileToken).buildXml(Transport.builder);
  });

  return Transport.builder.buildFragment();
}