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

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