SpeechRecognitionAlternative class

Alternative hypotheses (a.k.a. n-best list).

Constructors

SpeechRecognitionAlternative({double? confidence, String? transcript, List<WordInfo>? words})
SpeechRecognitionAlternative.fromJson(Map json_)

Properties

confidence double?
The confidence estimate between 0.0 and 1.0.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transcript String?
Transcript text representing the words that the user spoke.
getter/setter pair
words List<WordInfo>?
A list of word-specific information for each recognized word.
getter/setter pair

Methods

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.
inherited

Operators

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