copyWith method

M7LivelynessStepItem copyWith({
  1. M7LivelynessStep? step,
  2. String? title,
  3. double? thresholdToCheck,
  4. bool? isCompleted,
  5. Color? detectionColor,
})

Implementation

M7LivelynessStepItem copyWith({
  M7LivelynessStep? step,
  String? title,
  double? thresholdToCheck,
  bool? isCompleted,
  Color? detectionColor,
}) {
  return M7LivelynessStepItem(
    step: step ?? this.step,
    title: title ?? this.title,
    thresholdToCheck: thresholdToCheck ?? this.thresholdToCheck,
    isCompleted: isCompleted ?? this.isCompleted,
    detectionColor: detectionColor ?? this.detectionColor,
  );
}