copyWith method
Implementation
VoicePreviewResponseModel copyWith(
{String? audioBase64,
String? generatedVoiceId,
String? mediaType,
double? durationSecs}) {
return VoicePreviewResponseModel(
audioBase64: audioBase64 ?? this.audioBase64,
generatedVoiceId: generatedVoiceId ?? this.generatedVoiceId,
mediaType: mediaType ?? this.mediaType,
durationSecs: durationSecs ?? this.durationSecs);
}