isFrontCamera method

bool isFrontCamera()

Implementation

bool isFrontCamera() {
  final facingMode = CameraManager().currentFacingMode;
  if (facingMode == "user") {
    return true;
  }
  return false;
}