copyWith method

CustomerRequestCreateMetaDTO copyWith({
  1. bool? canAddRequestParticipants,
  2. bool? canRaiseOnBehalfOf,
  3. List<RequestTypeFieldDTO>? requestTypeFields,
})

Implementation

CustomerRequestCreateMetaDTO copyWith(
    {bool? canAddRequestParticipants,
    bool? canRaiseOnBehalfOf,
    List<RequestTypeFieldDTO>? requestTypeFields}) {
  return CustomerRequestCreateMetaDTO(
    canAddRequestParticipants:
        canAddRequestParticipants ?? this.canAddRequestParticipants,
    canRaiseOnBehalfOf: canRaiseOnBehalfOf ?? this.canRaiseOnBehalfOf,
    requestTypeFields: requestTypeFields ?? this.requestTypeFields,
  );
}