setState method
Switch to a state between
- CaptureMode.photo
- CaptureMode.video
CaptureMode.ANALYSIS
Implementation
@override
void setState(CaptureMode captureMode) {
throw CameraNotReadyException(
message:
'''You can't change current state while camera is in PreparingCameraState''',
);
}