copyWith method
SimilarVoice
copyWith({
- String? voiceId,
- String? name,
- SimilarVoiceCategory? category,
- dynamic description,
- dynamic previewUrl,
Implementation
SimilarVoice copyWith(
{String? voiceId,
String? name,
enums.SimilarVoiceCategory? category,
dynamic description,
dynamic previewUrl}) {
return SimilarVoice(
voiceId: voiceId ?? this.voiceId,
name: name ?? this.name,
category: category ?? this.category,
description: description ?? this.description,
previewUrl: previewUrl ?? this.previewUrl);
}