toCaptureMode method
Implementation
CaptureMode toCaptureMode() {
switch (this) {
case 'Input':
return CaptureMode.input;
case 'Output':
return CaptureMode.output;
}
throw Exception('$this is not known in enum CaptureMode');
}