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? urlIdentifier,
  18. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  19. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  20. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  21. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  22. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  23. Wrapped<bool?>? hasImport,
  24. Wrapped<bool?>? hasDocuments,
  25. Wrapped<String?>? createdByUserId,
  26. Wrapped<String?>? createdByUserName,
  27. Wrapped<String?>? createdDateTime,
  28. Wrapped<String?>? modifiedByUserId,
  29. Wrapped<String?>? modifiedByUserName,
  30. Wrapped<String?>? modifiedDateTime,
})

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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}