copyWith method

WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings copyWith({
  1. String? emailSettingsId,
  2. String? host,
  3. int? port,
  4. bool? enableSsl,
  5. String? accountPassword,
  6. String? accountUsername,
  7. String? authenticationType,
  8. int? deleteDays,
  9. String? emailFromAddress,
  10. String? emailFromDisplay,
  11. bool? enableReplyTo,
  12. String? dateStamp,
  13. String? auditNote,
  14. String? recordTitle,
  15. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  16. List<FwStandardDataFwCustomValue>? custom,
  17. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  18. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings copyWith(
    {String? emailSettingsId,
    String? host,
    int? port,
    bool? enableSsl,
    String? accountPassword,
    String? accountUsername,
    String? authenticationType,
    int? deleteDays,
    String? emailFromAddress,
    String? emailFromDisplay,
    bool? enableReplyTo,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings(
      emailSettingsId: emailSettingsId ?? this.emailSettingsId,
      host: host ?? this.host,
      port: port ?? this.port,
      enableSsl: enableSsl ?? this.enableSsl,
      accountPassword: accountPassword ?? this.accountPassword,
      accountUsername: accountUsername ?? this.accountUsername,
      authenticationType: authenticationType ?? this.authenticationType,
      deleteDays: deleteDays ?? this.deleteDays,
      emailFromAddress: emailFromAddress ?? this.emailFromAddress,
      emailFromDisplay: emailFromDisplay ?? this.emailFromDisplay,
      enableReplyTo: enableReplyTo ?? this.enableReplyTo,
      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);
}