toFrameCaptureIntervalUnit method
Implementation
FrameCaptureIntervalUnit toFrameCaptureIntervalUnit() {
switch (this) {
case 'MILLISECONDS':
return FrameCaptureIntervalUnit.milliseconds;
case 'SECONDS':
return FrameCaptureIntervalUnit.seconds;
}
throw Exception('$this is not known in enum FrameCaptureIntervalUnit');
}