copyWith method
SpeechToTextChunkResponseModel
copyWith({
- String? languageCode,
- double? languageProbability,
- String? text,
- List<
SpeechToTextWordResponseModel> ? words, - dynamic additionalFormats,
Implementation
SpeechToTextChunkResponseModel copyWith(
{String? languageCode,
double? languageProbability,
String? text,
List<SpeechToTextWordResponseModel>? words,
dynamic additionalFormats}) {
return SpeechToTextChunkResponseModel(
languageCode: languageCode ?? this.languageCode,
languageProbability: languageProbability ?? this.languageProbability,
text: text ?? this.text,
words: words ?? this.words,
additionalFormats: additionalFormats ?? this.additionalFormats);
}