copyWith method

SpeakerSeparationResponseModel copyWith({
  1. String? voiceId,
  2. String? sampleId,
  3. SpeakerSeparationResponseModelStatus? status,
  4. dynamic speakers,
  5. dynamic selectedSpeakerIds,
})

Implementation

SpeakerSeparationResponseModel copyWith(
    {String? voiceId,
    String? sampleId,
    enums.SpeakerSeparationResponseModelStatus? status,
    dynamic speakers,
    dynamic selectedSpeakerIds}) {
  return SpeakerSeparationResponseModel(
      voiceId: voiceId ?? this.voiceId,
      sampleId: sampleId ?? this.sampleId,
      status: status ?? this.status,
      speakers: speakers ?? this.speakers,
      selectedSpeakerIds: selectedSpeakerIds ?? this.selectedSpeakerIds);
}