copyWithWrapped method

SpeakerTrack copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<DubbingMediaReference>? mediaRef,
  3. Wrapped<String>? speakerName,
  4. Wrapped<Map<String, dynamic>>? voices,
  5. Wrapped<List<String>>? segments,
})

Implementation

SpeakerTrack copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<DubbingMediaReference>? mediaRef,
    Wrapped<String>? speakerName,
    Wrapped<Map<String, dynamic>>? voices,
    Wrapped<List<String>>? segments}) {
  return SpeakerTrack(
      id: (id != null ? id.value : this.id),
      mediaRef: (mediaRef != null ? mediaRef.value : this.mediaRef),
      speakerName:
          (speakerName != null ? speakerName.value : this.speakerName),
      voices: (voices != null ? voices.value : this.voices),
      segments: (segments != null ? segments.value : this.segments));
}