copyWith method

ChapterContentBlockTtsNodeResponseModel copyWith({
  1. String? type,
  2. String? voiceId,
  3. String? text,
})

Implementation

ChapterContentBlockTtsNodeResponseModel copyWith(
    {String? type, String? voiceId, String? text}) {
  return ChapterContentBlockTtsNodeResponseModel(
      type: type ?? this.type,
      voiceId: voiceId ?? this.voiceId,
      text: text ?? this.text);
}