PhraseSet class

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

Constructors

PhraseSet.new({double? boost, String? kmsKeyName, String? kmsKeyVersionName, String? name, List<Phrase>? phrases})
PhraseSet.fromJson(Map json_)

Properties

boost double?
Hint Boost.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kmsKeyName String?
The KMS key name with which the content of the PhraseSet is encrypted.
getter/setter pair
kmsKeyVersionName String?
The KMS key version name with which content of the PhraseSet is encrypted.
getter/setter pair
name String?
The resource name of the phrase set.
getter/setter pair
phrases List<Phrase>?
A list of word and phrases.
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