copyWithWrapped method

WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings copyWithWrapped({
  1. Wrapped<String?>? emailSettingsId,
  2. Wrapped<String?>? host,
  3. Wrapped<int?>? port,
  4. Wrapped<bool?>? enableSsl,
  5. Wrapped<String?>? accountPassword,
  6. Wrapped<String?>? accountUsername,
  7. Wrapped<String?>? authenticationType,
  8. Wrapped<int?>? deleteDays,
  9. Wrapped<String?>? emailFromAddress,
  10. Wrapped<String?>? emailFromDisplay,
  11. Wrapped<bool?>? enableReplyTo,
  12. Wrapped<String?>? dateStamp,
  13. Wrapped<String?>? auditNote,
  14. Wrapped<String?>? recordTitle,
  15. Wrapped? urlIdentifier,
  16. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  17. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  18. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  19. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  20. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  21. Wrapped<bool?>? hasImport,
  22. Wrapped<String?>? createdByUserId,
  23. Wrapped<String?>? createdByUserName,
  24. Wrapped<String?>? createdDateTime,
  25. Wrapped<String?>? modifiedByUserId,
  26. Wrapped<String?>? modifiedByUserName,
  27. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings
copyWithWrapped({
  Wrapped<String?>? emailSettingsId,
  Wrapped<String?>? host,
  Wrapped<int?>? port,
  Wrapped<bool?>? enableSsl,
  Wrapped<String?>? accountPassword,
  Wrapped<String?>? accountUsername,
  Wrapped<String?>? authenticationType,
  Wrapped<int?>? deleteDays,
  Wrapped<String?>? emailFromAddress,
  Wrapped<String?>? emailFromDisplay,
  Wrapped<bool?>? enableReplyTo,
  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<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesSettingsSystemSettingsEmailSettingsEmailSettings(
    emailSettingsId: (emailSettingsId != null
        ? emailSettingsId.value
        : this.emailSettingsId),
    host: (host != null ? host.value : this.host),
    port: (port != null ? port.value : this.port),
    enableSsl: (enableSsl != null ? enableSsl.value : this.enableSsl),
    accountPassword: (accountPassword != null
        ? accountPassword.value
        : this.accountPassword),
    accountUsername: (accountUsername != null
        ? accountUsername.value
        : this.accountUsername),
    authenticationType: (authenticationType != null
        ? authenticationType.value
        : this.authenticationType),
    deleteDays: (deleteDays != null ? deleteDays.value : this.deleteDays),
    emailFromAddress: (emailFromAddress != null
        ? emailFromAddress.value
        : this.emailFromAddress),
    emailFromDisplay: (emailFromDisplay != null
        ? emailFromDisplay.value
        : this.emailFromDisplay),
    enableReplyTo: (enableReplyTo != null
        ? enableReplyTo.value
        : this.enableReplyTo),
    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),
    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),
  );
}