setState method

  1. @override
void setState(
  1. CaptureMode captureMode
)
override

Switch to a state between

Implementation

@override
void setState(CaptureMode captureMode) {
  throw CameraNotReadyException(
    message:
        '''You can't change current state while camera is in PreparingCameraState''',
  );
}