copyWith method
Implementation
VoiceSamplePreviewResponseModel copyWith(
{String? audioBase64,
String? voiceId,
String? sampleId,
String? mediaType,
dynamic durationSecs}) {
return VoiceSamplePreviewResponseModel(
audioBase64: audioBase64 ?? this.audioBase64,
voiceId: voiceId ?? this.voiceId,
sampleId: sampleId ?? this.sampleId,
mediaType: mediaType ?? this.mediaType,
durationSecs: durationSecs ?? this.durationSecs);
}