copyWith method

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

Implementation

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