copyWith method
RequestTypeDTO
copyWith({
- List<
String> ? expands, - SelfLinkDTO? links,
- String? description,
- CustomerRequestCreateMetaDTO? fields,
- List<
String> ? groupIds, - String? helpText,
- RequestTypeIconDTO? icon,
- String? id,
- String? issueTypeId,
- String? name,
- String? portalId,
- String? practice,
- String? serviceDeskId,
Implementation
RequestTypeDTO copyWith(
{List<String>? expands,
SelfLinkDTO? links,
String? description,
CustomerRequestCreateMetaDTO? fields,
List<String>? groupIds,
String? helpText,
RequestTypeIconDTO? icon,
String? id,
String? issueTypeId,
String? name,
String? portalId,
String? practice,
String? serviceDeskId}) {
return RequestTypeDTO(
expands: expands ?? this.expands,
links: links ?? this.links,
description: description ?? this.description,
fields: fields ?? this.fields,
groupIds: groupIds ?? this.groupIds,
helpText: helpText ?? this.helpText,
icon: icon ?? this.icon,
id: id ?? this.id,
issueTypeId: issueTypeId ?? this.issueTypeId,
name: name ?? this.name,
portalId: portalId ?? this.portalId,
practice: practice ?? this.practice,
serviceDeskId: serviceDeskId ?? this.serviceDeskId,
);
}