SpeechToTextChunkResponseModel class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

SpeechToTextChunkResponseModel({required String languageCode, required double languageProbability, required String text, required List<SpeechToTextWordResponseModel> words, dynamic additionalFormats})
const
SpeechToTextChunkResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

additionalFormats → dynamic
final
hashCode int
The hash code for this object.
no setteroverride
languageCode String
final
languageProbability double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
words List<SpeechToTextWordResponseModel>
final

Methods

copyWith({String? languageCode, double? languageProbability, String? text, List<SpeechToTextWordResponseModel>? words, dynamic additionalFormats}) SpeechToTextChunkResponseModel

Available on SpeechToTextChunkResponseModel, provided by the $SpeechToTextChunkResponseModelExtension extension

copyWithWrapped({Wrapped<String>? languageCode, Wrapped<double>? languageProbability, Wrapped<String>? text, Wrapped<List<SpeechToTextWordResponseModel>>? words, Wrapped? additionalFormats}) SpeechToTextChunkResponseModel

Available on SpeechToTextChunkResponseModel, provided by the $SpeechToTextChunkResponseModelExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

fromJsonFactory → const SpeechToTextChunkResponseModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(SpeechToTextChunkResponseModel instance)