copyWith method

ModerationStatusResponseModel copyWith({
  1. bool? isInProbation,
  2. bool? enterpriseCheckNogoVoice,
  3. bool? enterpriseCheckBlockNogoVoice,
  4. bool? neverLiveModerate,
  5. int? nogoVoiceSimilarVoiceUploadCount,
  6. bool? enterpriseBackgroundModerationEnabled,
  7. dynamic safetyStatus,
  8. dynamic warningStatus,
  9. bool? onWatchlist,
})

Implementation

ModerationStatusResponseModel copyWith(
    {bool? isInProbation,
    bool? enterpriseCheckNogoVoice,
    bool? enterpriseCheckBlockNogoVoice,
    bool? neverLiveModerate,
    int? nogoVoiceSimilarVoiceUploadCount,
    bool? enterpriseBackgroundModerationEnabled,
    dynamic safetyStatus,
    dynamic warningStatus,
    bool? onWatchlist}) {
  return ModerationStatusResponseModel(
      isInProbation: isInProbation ?? this.isInProbation,
      enterpriseCheckNogoVoice:
          enterpriseCheckNogoVoice ?? this.enterpriseCheckNogoVoice,
      enterpriseCheckBlockNogoVoice:
          enterpriseCheckBlockNogoVoice ?? this.enterpriseCheckBlockNogoVoice,
      neverLiveModerate: neverLiveModerate ?? this.neverLiveModerate,
      nogoVoiceSimilarVoiceUploadCount: nogoVoiceSimilarVoiceUploadCount ??
          this.nogoVoiceSimilarVoiceUploadCount,
      enterpriseBackgroundModerationEnabled:
          enterpriseBackgroundModerationEnabled ??
              this.enterpriseBackgroundModerationEnabled,
      safetyStatus: safetyStatus ?? this.safetyStatus,
      warningStatus: warningStatus ?? this.warningStatus,
      onWatchlist: onWatchlist ?? this.onWatchlist);
}