resumeCamera method
Implementation
Future<void> resumeCamera() async {
if (_tempOnCameraInitialized != null) {
_onCameraInitialized = _tempOnCameraInitialized;
_tempOnCameraInitialized = null;
}
if (_tempOnCameraInitializedFailure != null) {
_onCameraInitializedFailure = _tempOnCameraInitializedFailure;
_tempOnCameraInitializedFailure = null;
}
return initializeCamera(cameraLensDirection: currentCameraLensDirection);
}