isCameraAvailable method

Future<bool> isCameraAvailable(
  1. CameraLensDirection cameraLensDirection
)

Implementation

Future<bool> isCameraAvailable(CameraLensDirection cameraLensDirection) async {
  return await _getCameraBasedOnFacingType(cameraLensDirection) != null;
}