copyWith method

CustomerRequestActionsDTO copyWith({
  1. CustomerRequestActionDTO? addAttachment,
  2. CustomerRequestActionDTO? addComment,
  3. CustomerRequestActionDTO? addParticipant,
  4. CustomerRequestActionDTO? removeParticipant,
})

Implementation

CustomerRequestActionsDTO copyWith(
    {CustomerRequestActionDTO? addAttachment,
    CustomerRequestActionDTO? addComment,
    CustomerRequestActionDTO? addParticipant,
    CustomerRequestActionDTO? removeParticipant}) {
  return CustomerRequestActionsDTO(
    addAttachment: addAttachment ?? this.addAttachment,
    addComment: addComment ?? this.addComment,
    addParticipant: addParticipant ?? this.addParticipant,
    removeParticipant: removeParticipant ?? this.removeParticipant,
  );
}