copyWith method

LivenessDetectionStepItem copyWith({
  1. LivenessDetectionStep? step,
  2. String? title,
  3. double? thresholdToCheck,
})

Implementation

LivenessDetectionStepItem copyWith({
  LivenessDetectionStep? step,
  String? title,
  double? thresholdToCheck,
}) {
  return LivenessDetectionStepItem(
    step: step ?? this.step,
    title: title ?? this.title,
    thresholdToCheck: thresholdToCheck ?? this.thresholdToCheck,
  );
}