copyWith method

SpeakerResponseModel copyWith({
  1. String? speakerId,
  2. double? durationSecs,
  3. dynamic utterances,
})

Implementation

SpeakerResponseModel copyWith(
    {String? speakerId, double? durationSecs, dynamic utterances}) {
  return SpeakerResponseModel(
      speakerId: speakerId ?? this.speakerId,
      durationSecs: durationSecs ?? this.durationSecs,
      utterances: utterances ?? this.utterances);
}