copyWith method

WebApiModulesSettingsAddressSettingsCountryCountry copyWith({
  1. String? countryId,
  2. String? country,
  3. String? countryCode,
  4. bool? isUSA,
  5. bool? metric,
  6. bool? inactive,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsAddressSettingsCountryCountry copyWith(
    {String? countryId,
    String? country,
    String? countryCode,
    bool? isUSA,
    bool? metric,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesSettingsAddressSettingsCountryCountry(
      countryId: countryId ?? this.countryId,
      country: country ?? this.country,
      countryCode: countryCode ?? this.countryCode,
      isUSA: isUSA ?? this.isUSA,
      metric: metric ?? this.metric,
      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);
}