LivenessConfig constructor

const LivenessConfig({
  1. bool enableSmile = true,
  2. bool enableBlink = true,
  3. bool enableMotion = true,
  4. int requiredDetections = 10,
  5. int requiredBlinks = 3,
  6. void onSuccess(
    1. String? imagePath
    )?,
  7. void onCancel()?,
  8. bool showDefaultSuccessScreen = true,
})

Implementation

const LivenessConfig({
  this.enableSmile = true,
  this.enableBlink = true,
  this.enableMotion = true,
  this.requiredDetections = 10,
  this.requiredBlinks = 3,
  this.onSuccess,
  this.onCancel,
  this.showDefaultSuccessScreen = true,
});