copyWith method

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

Implementation

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