copyWithWrapped method
SpeechHistoryItemResponseModel
copyWithWrapped({
- Wrapped<
String> ? historyItemId, - Wrapped? requestId,
- Wrapped? voiceId,
- Wrapped? modelId,
- Wrapped? voiceName,
- Wrapped? voiceCategory,
- Wrapped? text,
- Wrapped<
int> ? dateUnix, - Wrapped<
int> ? characterCountChangeFrom, - Wrapped<
int> ? characterCountChangeTo, - Wrapped<
String> ? contentType, - Wrapped<
SpeechHistoryItemResponseModelState> ? state, - Wrapped? settings,
- Wrapped? feedback,
- Wrapped? source,
- Wrapped? alignments,
- 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));
}