copyWith method

LivenessDetectionStepItem copyWith({
  1. LivenessDetectionStep? step,
  2. String? title,
  3. double? thresholdToCheckm,
  4. bool? isCompleted,
})

Implementation

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