toInputDeviceActiveInput method

InputDeviceActiveInput toInputDeviceActiveInput()

Implementation

InputDeviceActiveInput toInputDeviceActiveInput() {
  switch (this) {
    case 'HDMI':
      return InputDeviceActiveInput.hdmi;
    case 'SDI':
      return InputDeviceActiveInput.sdi;
  }
  throw Exception('$this is not known in enum InputDeviceActiveInput');
}