copyWith method

GameLettersGameFinalModel copyWith({
  1. String? subLetter,
  2. String? letter,
})

Implementation

GameLettersGameFinalModel copyWith({String? subLetter, String? letter}) {
  return GameLettersGameFinalModel(
      id: this.id,
      letter: letter ?? this.letter,
      secLetter: subLetter ?? this.secLetter,
      image: this.image,
      number: this.number,
      isRun: this.isRun,
      voice: this.voice,
      typeOfTool: this.typeOfTool,
      hideRings: this.hideRings,
      mainQuestion: this.mainQuestion,
      gameId: this.gameId,
      hide: this.hide,
      warmupId: this.warmupId,
      unitId: this.unitId,
      createdAt: this.createdAt,
      updatedAt: this.updatedAt,
      stars: this.stars);
}