LivenessThresholdSmile constructor

LivenessThresholdSmile({
  1. double probability = 0.75,
})

Implementation

LivenessThresholdSmile({
  this.probability = 0.75,
}) : super() {
  assert(
    probability < 1.0 || probability > 0.0,
    "Smile Probability has to be between 1.0 and 0.0",
  );
}