copyWith method
Implementation
TaskScoresItem copyWith({int? questionId, num? score}) {
return TaskScoresItem(
questionId: questionId ?? this.questionId,
score: score ?? this.score,
);
}
TaskScoresItem copyWith({int? questionId, num? score}) {
return TaskScoresItem(
questionId: questionId ?? this.questionId,
score: score ?? this.score,
);
}