copyWith method
ProjectComponent
copyWith({
- User? assignee,
- ProjectComponentAssigneeType? assigneeType,
- String? description,
- String? id,
- bool? isAssigneeTypeValid,
- User? lead,
- String? leadAccountId,
- String? leadUserName,
- String? name,
- String? project,
- int? projectId,
- User? realAssignee,
- ProjectComponentRealAssigneeType? realAssigneeType,
- String? self,
Implementation
ProjectComponent copyWith(
{User? assignee,
ProjectComponentAssigneeType? assigneeType,
String? description,
String? id,
bool? isAssigneeTypeValid,
User? lead,
String? leadAccountId,
String? leadUserName,
String? name,
String? project,
int? projectId,
User? realAssignee,
ProjectComponentRealAssigneeType? realAssigneeType,
String? self}) {
return ProjectComponent(
assignee: assignee ?? this.assignee,
assigneeType: assigneeType ?? this.assigneeType,
description: description ?? this.description,
id: id ?? this.id,
isAssigneeTypeValid: isAssigneeTypeValid ?? this.isAssigneeTypeValid,
lead: lead ?? this.lead,
leadAccountId: leadAccountId ?? this.leadAccountId,
leadUserName: leadUserName ?? this.leadUserName,
name: name ?? this.name,
project: project ?? this.project,
projectId: projectId ?? this.projectId,
realAssignee: realAssignee ?? this.realAssignee,
realAssigneeType: realAssigneeType ?? this.realAssigneeType,
self: self ?? this.self,
);
}