copyWithWrapped method

SpeechHistoryItemResponseModel copyWithWrapped({
  1. Wrapped<String>? historyItemId,
  2. Wrapped? requestId,
  3. Wrapped? voiceId,
  4. Wrapped? modelId,
  5. Wrapped? voiceName,
  6. Wrapped? voiceCategory,
  7. Wrapped? text,
  8. Wrapped<int>? dateUnix,
  9. Wrapped<int>? characterCountChangeFrom,
  10. Wrapped<int>? characterCountChangeTo,
  11. Wrapped<String>? contentType,
  12. Wrapped<SpeechHistoryItemResponseModelState>? state,
  13. Wrapped? settings,
  14. Wrapped? feedback,
  15. Wrapped? shareLinkId,
  16. Wrapped? source,
  17. Wrapped? alignments,
  18. Wrapped? dialogue,
})

Implementation

SpeechHistoryItemResponseModel copyWithWrapped(
    {Wrapped<String>? historyItemId,
    Wrapped<dynamic>? requestId,
    Wrapped<dynamic>? voiceId,
    Wrapped<dynamic>? modelId,
    Wrapped<dynamic>? voiceName,
    Wrapped<dynamic>? voiceCategory,
    Wrapped<dynamic>? text,
    Wrapped<int>? dateUnix,
    Wrapped<int>? characterCountChangeFrom,
    Wrapped<int>? characterCountChangeTo,
    Wrapped<String>? contentType,
    Wrapped<enums.SpeechHistoryItemResponseModelState>? state,
    Wrapped<dynamic>? settings,
    Wrapped<dynamic>? feedback,
    Wrapped<dynamic>? shareLinkId,
    Wrapped<dynamic>? source,
    Wrapped<dynamic>? alignments,
    Wrapped<dynamic>? dialogue}) {
  return SpeechHistoryItemResponseModel(
      historyItemId:
          (historyItemId != null ? historyItemId.value : this.historyItemId),
      requestId: (requestId != null ? requestId.value : this.requestId),
      voiceId: (voiceId != null ? voiceId.value : this.voiceId),
      modelId: (modelId != null ? modelId.value : this.modelId),
      voiceName: (voiceName != null ? voiceName.value : this.voiceName),
      voiceCategory:
          (voiceCategory != null ? voiceCategory.value : this.voiceCategory),
      text: (text != null ? text.value : this.text),
      dateUnix: (dateUnix != null ? dateUnix.value : this.dateUnix),
      characterCountChangeFrom: (characterCountChangeFrom != null
          ? characterCountChangeFrom.value
          : this.characterCountChangeFrom),
      characterCountChangeTo: (characterCountChangeTo != null
          ? characterCountChangeTo.value
          : this.characterCountChangeTo),
      contentType:
          (contentType != null ? contentType.value : this.contentType),
      state: (state != null ? state.value : this.state),
      settings: (settings != null ? settings.value : this.settings),
      feedback: (feedback != null ? feedback.value : this.feedback),
      shareLinkId:
          (shareLinkId != null ? shareLinkId.value : this.shareLinkId),
      source: (source != null ? source.value : this.source),
      alignments: (alignments != null ? alignments.value : this.alignments),
      dialogue: (dialogue != null ? dialogue.value : this.dialogue));
}