isBackCamera method

bool isBackCamera()

Implementation

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