copyWithWrapped method
TaskSolution
copyWithWrapped({
- Wrapped<
TaskType> ? type, - Wrapped<
String?> ? solutionUrl, - Wrapped<
List< ? answers,TaskSolutionAnswersItem> ?> - Wrapped<
List< ? attachments,TaskAttachment> ?>
Implementation
TaskSolution copyWithWrapped({
Wrapped<enums.TaskType>? type,
Wrapped<String?>? solutionUrl,
Wrapped<List<TaskSolutionAnswersItem>?>? answers,
Wrapped<List<TaskAttachment>?>? attachments,
}) {
return TaskSolution(
type: (type != null ? type.value : this.type),
solutionUrl: (solutionUrl != null ? solutionUrl.value : this.solutionUrl),
answers: (answers != null ? answers.value : this.answers),
attachments: (attachments != null ? attachments.value : this.attachments),
);
}