copyWith method

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

Implementation

AdminDealerOrgUpdateV3Body copyWith(
    {String? businessPartnerNo,
    String? name,
    AddressDTO? address,
    String? phoneNumber,
    bool? wizardComplete,
    String? wizardStep}) {
  return AdminDealerOrgUpdateV3Body(
      businessPartnerNo: businessPartnerNo ?? this.businessPartnerNo,
      name: name ?? this.name,
      address: address ?? this.address,
      phoneNumber: phoneNumber ?? this.phoneNumber,
      wizardComplete: wizardComplete ?? this.wizardComplete,
      wizardStep: wizardStep ?? this.wizardStep);
}