toInputDeviceType method

InputDeviceType toInputDeviceType()

Implementation

InputDeviceType toInputDeviceType() {
  switch (this) {
    case 'HD':
      return InputDeviceType.hd;
  }
  throw Exception('$this is not known in enum InputDeviceType');
}