copyWithWrapped method

WebApiLogicAppFuncSessionLocation copyWithWrapped({
  1. Wrapped<String?>? locationid,
  2. Wrapped<String?>? location,
  3. Wrapped<String?>? locationcode,
  4. Wrapped<String?>? companyname,
  5. Wrapped<String?>? locationcolor,
  6. Wrapped<String?>? ratetype,
  7. Wrapped<String?>? ratetypedisplay,
  8. Wrapped<String?>? defaultcurrency,
  9. Wrapped<String?>? defaultcurrencyid,
  10. Wrapped<String?>? defaultcurrencycode,
  11. Wrapped<String?>? defaultcurrencysymbol,
  12. Wrapped<String?>? defaultpaymentby,
  13. Wrapped<String?>? defaulttaxoptionid,
  14. Wrapped<String?>? defaulttaxoption,
  15. Wrapped<String?>? countryid,
  16. Wrapped<String?>? country,
  17. Wrapped<String?>? countrycodeisoalpha2,
  18. Wrapped<String?>? phone,
  19. Wrapped<bool?>? useorderlocationbydefault,
  20. Wrapped<String?>? defaultrepairpotypeid,
  21. Wrapped<String?>? defaultrepairpotype,
  22. Wrapped<bool?>? emailinvoicetoorderedby,
  23. Wrapped<bool?>? emailinvoicetoaccountspayable,
  24. Wrapped<String?>? defaultpurchasepotypeid,
  25. Wrapped<String?>? defaultpurchasepotype,
  26. Wrapped<String?>? defaultsubrentalpoordertypeid,
  27. Wrapped<String?>? defaultsubrentalpoordertype,
  28. Wrapped<String?>? defaultsubsalespoordertypeid,
  29. Wrapped<String?>? defaultsubsalespoordertype,
  30. Wrapped<String?>? defaultsubmiscpoordertypeid,
  31. Wrapped<String?>? defaultsubmiscpoordertype,
  32. Wrapped<String?>? defaultsublaborpoordertypeid,
  33. Wrapped<String?>? defaultsublaborpoordertype,
  34. Wrapped<String?>? defaultcombinedpoordertypeid,
  35. Wrapped<String?>? defaultcombinedpoordertype,
  36. Wrapped<String?>? defaultdealoutdeliverytype,
  37. Wrapped<String?>? defaultdealindeliverytype,
})

Implementation

WebApiLogicAppFuncSessionLocation copyWithWrapped({
  Wrapped<String?>? locationid,
  Wrapped<String?>? location,
  Wrapped<String?>? locationcode,
  Wrapped<String?>? companyname,
  Wrapped<String?>? locationcolor,
  Wrapped<String?>? ratetype,
  Wrapped<String?>? ratetypedisplay,
  Wrapped<String?>? defaultcurrency,
  Wrapped<String?>? defaultcurrencyid,
  Wrapped<String?>? defaultcurrencycode,
  Wrapped<String?>? defaultcurrencysymbol,
  Wrapped<String?>? defaultpaymentby,
  Wrapped<String?>? defaulttaxoptionid,
  Wrapped<String?>? defaulttaxoption,
  Wrapped<String?>? countryid,
  Wrapped<String?>? country,
  Wrapped<String?>? countrycodeisoalpha2,
  Wrapped<String?>? phone,
  Wrapped<bool?>? useorderlocationbydefault,
  Wrapped<String?>? defaultrepairpotypeid,
  Wrapped<String?>? defaultrepairpotype,
  Wrapped<bool?>? emailinvoicetoorderedby,
  Wrapped<bool?>? emailinvoicetoaccountspayable,
  Wrapped<String?>? defaultpurchasepotypeid,
  Wrapped<String?>? defaultpurchasepotype,
  Wrapped<String?>? defaultsubrentalpoordertypeid,
  Wrapped<String?>? defaultsubrentalpoordertype,
  Wrapped<String?>? defaultsubsalespoordertypeid,
  Wrapped<String?>? defaultsubsalespoordertype,
  Wrapped<String?>? defaultsubmiscpoordertypeid,
  Wrapped<String?>? defaultsubmiscpoordertype,
  Wrapped<String?>? defaultsublaborpoordertypeid,
  Wrapped<String?>? defaultsublaborpoordertype,
  Wrapped<String?>? defaultcombinedpoordertypeid,
  Wrapped<String?>? defaultcombinedpoordertype,
  Wrapped<String?>? defaultdealoutdeliverytype,
  Wrapped<String?>? defaultdealindeliverytype,
}) {
  return WebApiLogicAppFuncSessionLocation(
    locationid: (locationid != null ? locationid.value : this.locationid),
    location: (location != null ? location.value : this.location),
    locationcode: (locationcode != null
        ? locationcode.value
        : this.locationcode),
    companyname: (companyname != null ? companyname.value : this.companyname),
    locationcolor: (locationcolor != null
        ? locationcolor.value
        : this.locationcolor),
    ratetype: (ratetype != null ? ratetype.value : this.ratetype),
    ratetypedisplay: (ratetypedisplay != null
        ? ratetypedisplay.value
        : this.ratetypedisplay),
    defaultcurrency: (defaultcurrency != null
        ? defaultcurrency.value
        : this.defaultcurrency),
    defaultcurrencyid: (defaultcurrencyid != null
        ? defaultcurrencyid.value
        : this.defaultcurrencyid),
    defaultcurrencycode: (defaultcurrencycode != null
        ? defaultcurrencycode.value
        : this.defaultcurrencycode),
    defaultcurrencysymbol: (defaultcurrencysymbol != null
        ? defaultcurrencysymbol.value
        : this.defaultcurrencysymbol),
    defaultpaymentby: (defaultpaymentby != null
        ? defaultpaymentby.value
        : this.defaultpaymentby),
    defaulttaxoptionid: (defaulttaxoptionid != null
        ? defaulttaxoptionid.value
        : this.defaulttaxoptionid),
    defaulttaxoption: (defaulttaxoption != null
        ? defaulttaxoption.value
        : this.defaulttaxoption),
    countryid: (countryid != null ? countryid.value : this.countryid),
    country: (country != null ? country.value : this.country),
    countrycodeisoalpha2: (countrycodeisoalpha2 != null
        ? countrycodeisoalpha2.value
        : this.countrycodeisoalpha2),
    phone: (phone != null ? phone.value : this.phone),
    useorderlocationbydefault: (useorderlocationbydefault != null
        ? useorderlocationbydefault.value
        : this.useorderlocationbydefault),
    defaultrepairpotypeid: (defaultrepairpotypeid != null
        ? defaultrepairpotypeid.value
        : this.defaultrepairpotypeid),
    defaultrepairpotype: (defaultrepairpotype != null
        ? defaultrepairpotype.value
        : this.defaultrepairpotype),
    emailinvoicetoorderedby: (emailinvoicetoorderedby != null
        ? emailinvoicetoorderedby.value
        : this.emailinvoicetoorderedby),
    emailinvoicetoaccountspayable: (emailinvoicetoaccountspayable != null
        ? emailinvoicetoaccountspayable.value
        : this.emailinvoicetoaccountspayable),
    defaultpurchasepotypeid: (defaultpurchasepotypeid != null
        ? defaultpurchasepotypeid.value
        : this.defaultpurchasepotypeid),
    defaultpurchasepotype: (defaultpurchasepotype != null
        ? defaultpurchasepotype.value
        : this.defaultpurchasepotype),
    defaultsubrentalpoordertypeid: (defaultsubrentalpoordertypeid != null
        ? defaultsubrentalpoordertypeid.value
        : this.defaultsubrentalpoordertypeid),
    defaultsubrentalpoordertype: (defaultsubrentalpoordertype != null
        ? defaultsubrentalpoordertype.value
        : this.defaultsubrentalpoordertype),
    defaultsubsalespoordertypeid: (defaultsubsalespoordertypeid != null
        ? defaultsubsalespoordertypeid.value
        : this.defaultsubsalespoordertypeid),
    defaultsubsalespoordertype: (defaultsubsalespoordertype != null
        ? defaultsubsalespoordertype.value
        : this.defaultsubsalespoordertype),
    defaultsubmiscpoordertypeid: (defaultsubmiscpoordertypeid != null
        ? defaultsubmiscpoordertypeid.value
        : this.defaultsubmiscpoordertypeid),
    defaultsubmiscpoordertype: (defaultsubmiscpoordertype != null
        ? defaultsubmiscpoordertype.value
        : this.defaultsubmiscpoordertype),
    defaultsublaborpoordertypeid: (defaultsublaborpoordertypeid != null
        ? defaultsublaborpoordertypeid.value
        : this.defaultsublaborpoordertypeid),
    defaultsublaborpoordertype: (defaultsublaborpoordertype != null
        ? defaultsublaborpoordertype.value
        : this.defaultsublaborpoordertype),
    defaultcombinedpoordertypeid: (defaultcombinedpoordertypeid != null
        ? defaultcombinedpoordertypeid.value
        : this.defaultcombinedpoordertypeid),
    defaultcombinedpoordertype: (defaultcombinedpoordertype != null
        ? defaultcombinedpoordertype.value
        : this.defaultcombinedpoordertype),
    defaultdealoutdeliverytype: (defaultdealoutdeliverytype != null
        ? defaultdealoutdeliverytype.value
        : this.defaultdealoutdeliverytype),
    defaultdealindeliverytype: (defaultdealindeliverytype != null
        ? defaultdealindeliverytype.value
        : this.defaultdealindeliverytype),
  );
}