getCurrentCameraInput method

String getCurrentCameraInput()

Implementation

String getCurrentCameraInput() {
  final facingMode = CameraManager().currentFacingMode;
  if (facingMode == "user") {
    return "front";
  } else {
    return "back";
  }
}