copyWith method
Task
copyWith(
{ - int? globalId,
- int? id,
- int? contentId,
- String? status,
- String? title,
- String? description,
- String? body,
- String? creator,
- String? assignee,
- String? completeUser,
- int? createDate,
- int? dueDate,
- int? updateDate,
- int? completeDate,
- GenericLinks? links,
})
Implementation
Task copyWith(
{int? globalId,
int? id,
int? contentId,
String? status,
String? title,
String? description,
String? body,
String? creator,
String? assignee,
String? completeUser,
int? createDate,
int? dueDate,
int? updateDate,
int? completeDate,
GenericLinks? links}) {
return Task(
globalId: globalId ?? this.globalId,
id: id ?? this.id,
contentId: contentId ?? this.contentId,
status: status ?? this.status,
title: title ?? this.title,
description: description ?? this.description,
body: body ?? this.body,
creator: creator ?? this.creator,
assignee: assignee ?? this.assignee,
completeUser: completeUser ?? this.completeUser,
createDate: createDate ?? this.createDate,
dueDate: dueDate ?? this.dueDate,
updateDate: updateDate ?? this.updateDate,
completeDate: completeDate ?? this.completeDate,
links: links ?? this.links,
);
}