getVideoSourceConfigurationOptions static method

XmlDocumentFragment getVideoSourceConfigurationOptions({
  1. String? configurationToken,
  2. String? profileToken,
})

Implementation

static XmlDocumentFragment getVideoSourceConfigurationOptions({
  String? configurationToken,
  String? profileToken,
}) {
  Transport.builder.element('GetVideoSourceConfigurationOptions', nest: () {
    Transport.builder.namespace(Xmlns.tr2);

    if (configurationToken != null) {
      Transport.builder.element('ConfigurationToken', nest: () {
        Transport.builder.text(configurationToken);
      });
    }

    if (profileToken != null) {
      Transport.builder.element('ProfileToken', nest: () {
        Transport.builder.text(profileToken);
      });
    }
  });

  return Transport.builder.buildFragment();
}