getSnapshotUri static method

XmlDocumentFragment getSnapshotUri(
  1. String profileToken, {
  2. StreamSetup? streamSetup,
})

XML for the getSnapshotUri, requires a profileToken

Implementation

static XmlDocumentFragment getSnapshotUri(String profileToken,
    {StreamSetup? streamSetup}) {
  builder.element('GetSnapshotUri', nest: () {
    builder.namespace(Xmlns.trt);

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

  return builder.buildFragment();
}