copyWithWrapped method

Mfa copyWithWrapped({
  1. Wrapped<String>? type,
  2. Wrapped<double>? questionRounds,
  3. Wrapped<double>? questionsPerRound,
  4. Wrapped<double>? selectionRounds,
  5. Wrapped<double>? selectionsPerQuestion,
})

Implementation

Mfa copyWithWrapped(
    {Wrapped<String>? type,
    Wrapped<double>? questionRounds,
    Wrapped<double>? questionsPerRound,
    Wrapped<double>? selectionRounds,
    Wrapped<double>? selectionsPerQuestion}) {
  return Mfa(
      type: (type != null ? type.value : this.type),
      questionRounds: (questionRounds != null
          ? questionRounds.value
          : this.questionRounds),
      questionsPerRound: (questionsPerRound != null
          ? questionsPerRound.value
          : this.questionsPerRound),
      selectionRounds: (selectionRounds != null
          ? selectionRounds.value
          : this.selectionRounds),
      selectionsPerQuestion: (selectionsPerQuestion != null
          ? selectionsPerQuestion.value
          : this.selectionsPerQuestion));
}