copyWithWrapped method

PartnerCustomerGetResponse copyWithWrapped({
  1. Wrapped<PartnerEndCustomer?>? endCustomer,
  2. Wrapped<String?>? requestId,
})

Implementation

PartnerCustomerGetResponse copyWithWrapped(
    {Wrapped<PartnerEndCustomer?>? endCustomer,
    Wrapped<String?>? requestId}) {
  return PartnerCustomerGetResponse(
      endCustomer:
          (endCustomer != null ? endCustomer.value : this.endCustomer),
      requestId: (requestId != null ? requestId.value : this.requestId));
}