getSnapshotUri static method

XmlDocumentFragment getSnapshotUri(
  1. String profileToken
)

XML for the getSnapshotUri, requires a profileToken

Implementation

static XmlDocumentFragment getSnapshotUri(String profileToken) {
  Transport.builder.element('GetSnapshotUri', nest: () {
    Transport.builder.namespace(Xmlns.tr2);
    Transport.builder.element('ProfileToken', nest: () {
      Transport.builder.text(profileToken);
    });
  });

  return Transport.builder.buildFragment();
}