uploadCustomPlatform method

Future<WebPresenterRestResponse> uploadCustomPlatform(
  1. String filename,
  2. String xml, {
  3. bool compact = true,
})

Implementation

Future<WebPresenterRestResponse> uploadCustomPlatform(
  String filename,
  String xml, {
  bool compact = true,
}) =>
    request(
      'PUT',
      '/livestreams/customPlatforms/${_segment(filename)}',
      body: compact ? StreamingXmlDocument.compact(xml) : xml,
    );