copyWith method
ServiceDeskDTO
copyWith({
- SelfLinkDTO? links,
- String? id,
- String? projectId,
- String? projectKey,
- String? projectName,
Implementation
ServiceDeskDTO copyWith(
{SelfLinkDTO? links,
String? id,
String? projectId,
String? projectKey,
String? projectName}) {
return ServiceDeskDTO(
links: links ?? this.links,
id: id ?? this.id,
projectId: projectId ?? this.projectId,
projectKey: projectKey ?? this.projectKey,
projectName: projectName ?? this.projectName,
);
}