toInputDeviceScanType method
Implementation
InputDeviceScanType toInputDeviceScanType() {
switch (this) {
case 'INTERLACED':
return InputDeviceScanType.interlaced;
case 'PROGRESSIVE':
return InputDeviceScanType.progressive;
}
throw Exception('$this is not known in enum InputDeviceScanType');
}