toInputMaximumBitrate method

InputMaximumBitrate toInputMaximumBitrate()

Implementation

InputMaximumBitrate toInputMaximumBitrate() {
  switch (this) {
    case 'MAX_10_MBPS':
      return InputMaximumBitrate.max_10Mbps;
    case 'MAX_20_MBPS':
      return InputMaximumBitrate.max_20Mbps;
    case 'MAX_50_MBPS':
      return InputMaximumBitrate.max_50Mbps;
  }
  throw Exception('$this is not known in enum InputMaximumBitrate');
}