M7SmileDetectionThreshold constructor

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

Implementation

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