changeCamera abstract method
Switches the camera to the specified CameraType.
cameraType
: The camera to switch to, either CameraType.FRONT or CameraType.BACK.
Returns a Future that completes when the camera has been changed.
Implementation
Future<void> changeCamera(CameraType cameraType);