copyWith method
SpeechToTextWordResponseModel
copyWith({
- String? text,
- dynamic start,
- dynamic end,
- SpeechToTextWordResponseModelType? type,
- dynamic speakerId,
- double? logprob,
- 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);
}