copyWithWrapped method
ModerationStatusResponseModel
copyWithWrapped({
- Wrapped<
bool> ? isInProbation, - Wrapped<
bool> ? enterpriseCheckNogoVoice, - Wrapped<
bool> ? enterpriseCheckBlockNogoVoice, - Wrapped<
bool> ? neverLiveModerate, - Wrapped<
int> ? nogoVoiceSimilarVoiceUploadCount, - Wrapped<
bool> ? enterpriseBackgroundModerationEnabled, - Wrapped? safetyStatus,
- Wrapped? warningStatus,
- Wrapped<
bool> ? onWatchlist,
Implementation
ModerationStatusResponseModel copyWithWrapped(
{Wrapped<bool>? isInProbation,
Wrapped<bool>? enterpriseCheckNogoVoice,
Wrapped<bool>? enterpriseCheckBlockNogoVoice,
Wrapped<bool>? neverLiveModerate,
Wrapped<int>? nogoVoiceSimilarVoiceUploadCount,
Wrapped<bool>? enterpriseBackgroundModerationEnabled,
Wrapped<dynamic>? safetyStatus,
Wrapped<dynamic>? warningStatus,
Wrapped<bool>? onWatchlist}) {
return ModerationStatusResponseModel(
isInProbation:
(isInProbation != null ? isInProbation.value : this.isInProbation),
enterpriseCheckNogoVoice: (enterpriseCheckNogoVoice != null
? enterpriseCheckNogoVoice.value
: this.enterpriseCheckNogoVoice),
enterpriseCheckBlockNogoVoice: (enterpriseCheckBlockNogoVoice != null
? enterpriseCheckBlockNogoVoice.value
: this.enterpriseCheckBlockNogoVoice),
neverLiveModerate: (neverLiveModerate != null
? neverLiveModerate.value
: this.neverLiveModerate),
nogoVoiceSimilarVoiceUploadCount:
(nogoVoiceSimilarVoiceUploadCount != null
? nogoVoiceSimilarVoiceUploadCount.value
: this.nogoVoiceSimilarVoiceUploadCount),
enterpriseBackgroundModerationEnabled:
(enterpriseBackgroundModerationEnabled != null
? enterpriseBackgroundModerationEnabled.value
: this.enterpriseBackgroundModerationEnabled),
safetyStatus:
(safetyStatus != null ? safetyStatus.value : this.safetyStatus),
warningStatus:
(warningStatus != null ? warningStatus.value : this.warningStatus),
onWatchlist:
(onWatchlist != null ? onWatchlist.value : this.onWatchlist));
}