toStreamOrder method

StreamOrder toStreamOrder()

Implementation

StreamOrder toStreamOrder() {
  switch (this) {
    case 'ORIGINAL':
      return StreamOrder.original;
    case 'VIDEO_BITRATE_ASCENDING':
      return StreamOrder.videoBitrateAscending;
    case 'VIDEO_BITRATE_DESCENDING':
      return StreamOrder.videoBitrateDescending;
  }
  throw Exception('$this is not known in enum StreamOrder');
}