copyWith method

GameChoicesGameFinalModel copyWith({
  1. int? isCorrect,
})

Implementation

GameChoicesGameFinalModel copyWith({int? isCorrect}) {
  return GameChoicesGameFinalModel(
      id: this.id,
      gameId: this.gameId,
      isCorrect: isCorrect??this.isCorrect,
      image: this.image,
      choice: this.choice,
      isRun: this.isRun,
      voice: this.voice,
      questionId: this.questionId,
      hideRings: this.hideRings,
      createdAt: this.createdAt,
      updatedAt: this.updatedAt,
      which: this.which);
}