SpeechContext class

Provides "hints" to the speech recognizer to favor specific words and phrases in the results.

Constructors

SpeechContext({double? boost, List<String>? phrases})
SpeechContext.fromJson(Map json_)

Properties

boost double?
Hint Boost.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
phrases List<String>?
A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize them.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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