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?>? defaulttaxoptionid,
  13. Wrapped<String?>? defaulttaxoption,
  14. Wrapped<String?>? countryid,
  15. Wrapped<String?>? country,
  16. Wrapped<String?>? phone,
  17. Wrapped<bool?>? useorderlocationbydefault,
})

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?>? defaulttaxoptionid,
    Wrapped<String?>? defaulttaxoption,
    Wrapped<String?>? countryid,
    Wrapped<String?>? country,
    Wrapped<String?>? phone,
    Wrapped<bool?>? useorderlocationbydefault}) {
  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),
      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),
      phone: (phone != null ? phone.value : this.phone),
      useorderlocationbydefault: (useorderlocationbydefault != null
          ? useorderlocationbydefault.value
          : this.useorderlocationbydefault));
}