LivenessConfig constructor

LivenessConfig({
  1. required List<LivenessDetectionStepItem> steps,
  2. bool startWithInfoScreen = false,
})

Implementation

LivenessConfig({
  required this.steps,
  this.startWithInfoScreen = false,
}) {
  assert(
    steps.isNotEmpty,
    '''
Cannot pass an empty array of [LivenessDetectionStepItem].
    ''',
  );
}