toInputLossActionForHlsOut method

InputLossActionForHlsOut toInputLossActionForHlsOut()

Implementation

InputLossActionForHlsOut toInputLossActionForHlsOut() {
  switch (this) {
    case 'EMIT_OUTPUT':
      return InputLossActionForHlsOut.emitOutput;
    case 'PAUSE_OUTPUT':
      return InputLossActionForHlsOut.pauseOutput;
  }
  throw Exception('$this is not known in enum InputLossActionForHlsOut');
}