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

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