copyWith method

SpeechToTextWordResponseModel copyWith({
  1. String? text,
  2. dynamic start,
  3. dynamic end,
  4. SpeechToTextWordResponseModelType? type,
  5. dynamic speakerId,
  6. double? logprob,
  7. dynamic characters,
})

Implementation

SpeechToTextWordResponseModel copyWith(
    {String? text,
    dynamic start,
    dynamic end,
    enums.SpeechToTextWordResponseModelType? type,
    dynamic speakerId,
    double? logprob,
    dynamic characters}) {
  return SpeechToTextWordResponseModel(
      text: text ?? this.text,
      start: start ?? this.start,
      end: end ?? this.end,
      type: type ?? this.type,
      speakerId: speakerId ?? this.speakerId,
      logprob: logprob ?? this.logprob,
      characters: characters ?? this.characters);
}