disposeCamera method
void
disposeCamera()
Implementation
void disposeCamera() {
_tempOnCameraInitialized = _onCameraInitialized;
_onCameraInitialized = null;
_tempOnCameraInitializedFailure = _onCameraInitializedFailure;
_onCameraInitializedFailure = null;
cameraController?.dispose();
cameraController = null;
}