copyWithWrapped method

AdminDealerOrgUpdateV3Body copyWithWrapped({
  1. Wrapped<String?>? businessPartnerNo,
  2. Wrapped<String?>? name,
  3. Wrapped<AddressDTO?>? address,
  4. Wrapped<String?>? phoneNumber,
  5. Wrapped<bool?>? wizardComplete,
  6. Wrapped<String?>? wizardStep,
})

Implementation

AdminDealerOrgUpdateV3Body copyWithWrapped(
    {Wrapped<String?>? businessPartnerNo,
    Wrapped<String?>? name,
    Wrapped<AddressDTO?>? address,
    Wrapped<String?>? phoneNumber,
    Wrapped<bool?>? wizardComplete,
    Wrapped<String?>? wizardStep}) {
  return AdminDealerOrgUpdateV3Body(
      businessPartnerNo: (businessPartnerNo != null
          ? businessPartnerNo.value
          : this.businessPartnerNo),
      name: (name != null ? name.value : this.name),
      address: (address != null ? address.value : this.address),
      phoneNumber:
          (phoneNumber != null ? phoneNumber.value : this.phoneNumber),
      wizardComplete: (wizardComplete != null
          ? wizardComplete.value
          : this.wizardComplete),
      wizardStep: (wizardStep != null ? wizardStep.value : this.wizardStep));
}