toCaptureStatus method
Implementation
CaptureStatus toCaptureStatus() {
switch (this) {
case 'Started':
return CaptureStatus.started;
case 'Stopped':
return CaptureStatus.stopped;
}
throw Exception('$this is not known in enum CaptureStatus');
}