copyWithWrapped method

WebApiModulesSettingsAddressSettingsCountryCountry copyWithWrapped({
  1. Wrapped<String?>? countryId,
  2. Wrapped<String?>? country,
  3. Wrapped<String?>? countryISOName,
  4. Wrapped<String?>? countryCodeISOAlpha2,
  5. Wrapped<String?>? countryCodeISOAlpha3,
  6. Wrapped<int?>? countryCodeISONumeric,
  7. Wrapped<int?>? countryCodePhone,
  8. Wrapped<String?>? flagImage,
  9. Wrapped<bool?>? metric,
  10. Wrapped<String?>? currencyId,
  11. Wrapped<String?>? currency,
  12. Wrapped<String?>? currencyCode,
  13. Wrapped<bool?>? inactive,
  14. Wrapped<String?>? dateStamp,
  15. Wrapped<String?>? auditNote,
  16. Wrapped<String?>? recordTitle,
  17. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  18. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  19. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  20. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsAddressSettingsCountryCountry copyWithWrapped(
    {Wrapped<String?>? countryId,
    Wrapped<String?>? country,
    Wrapped<String?>? countryISOName,
    Wrapped<String?>? countryCodeISOAlpha2,
    Wrapped<String?>? countryCodeISOAlpha3,
    Wrapped<int?>? countryCodeISONumeric,
    Wrapped<int?>? countryCodePhone,
    Wrapped<String?>? flagImage,
    Wrapped<bool?>? metric,
    Wrapped<String?>? currencyId,
    Wrapped<String?>? currency,
    Wrapped<String?>? currencyCode,
    Wrapped<bool?>? inactive,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesSettingsAddressSettingsCountryCountry(
      countryId: (countryId != null ? countryId.value : this.countryId),
      country: (country != null ? country.value : this.country),
      countryISOName: (countryISOName != null
          ? countryISOName.value
          : this.countryISOName),
      countryCodeISOAlpha2: (countryCodeISOAlpha2 != null
          ? countryCodeISOAlpha2.value
          : this.countryCodeISOAlpha2),
      countryCodeISOAlpha3: (countryCodeISOAlpha3 != null
          ? countryCodeISOAlpha3.value
          : this.countryCodeISOAlpha3),
      countryCodeISONumeric: (countryCodeISONumeric != null
          ? countryCodeISONumeric.value
          : this.countryCodeISONumeric),
      countryCodePhone: (countryCodePhone != null
          ? countryCodePhone.value
          : this.countryCodePhone),
      flagImage: (flagImage != null ? flagImage.value : this.flagImage),
      metric: (metric != null ? metric.value : this.metric),
      currencyId: (currencyId != null ? currencyId.value : this.currencyId),
      currency: (currency != null ? currency.value : this.currency),
      currencyCode:
          (currencyCode != null ? currencyCode.value : this.currencyCode),
      inactive: (inactive != null ? inactive.value : this.inactive),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}