copyWithWrapped method

DealerOrgV2 copyWithWrapped({
  1. Wrapped<int?>? dealerOrgId,
  2. Wrapped<String?>? dealerId,
  3. Wrapped<String?>? companyName,
  4. Wrapped<String?>? address1,
  5. Wrapped<String?>? address2,
  6. Wrapped<String?>? city,
  7. Wrapped<String?>? state,
  8. Wrapped<String?>? postalCode,
})

Implementation

DealerOrgV2 copyWithWrapped(
    {Wrapped<int?>? dealerOrgId,
    Wrapped<String?>? dealerId,
    Wrapped<String?>? companyName,
    Wrapped<String?>? address1,
    Wrapped<String?>? address2,
    Wrapped<String?>? city,
    Wrapped<String?>? state,
    Wrapped<String?>? postalCode}) {
  return DealerOrgV2(
      dealerOrgId:
          (dealerOrgId != null ? dealerOrgId.value : this.dealerOrgId),
      dealerId: (dealerId != null ? dealerId.value : this.dealerId),
      companyName:
          (companyName != null ? companyName.value : this.companyName),
      address1: (address1 != null ? address1.value : this.address1),
      address2: (address2 != null ? address2.value : this.address2),
      city: (city != null ? city.value : this.city),
      state: (state != null ? state.value : this.state),
      postalCode: (postalCode != null ? postalCode.value : this.postalCode));
}