SpeechContextV2Beta1 class

Helper Class For passing in Speech Context Bias the speech recognition, give certain words an extra boost.

var biasList = SpeechContextV2Beta1(
  phrases: [
  'Dialogflow CX',
  'Dialogflow Essentials',
  ],
  boost: 20.0
);

Constructors

SpeechContextV2Beta1({List<String> phrases = const [], double boost = 20})

Properties

boost double
final
hashCode int
The hash code for this object.
no setterinherited
phrases List<String>
final
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
toGoogleSpeechContext() SpeechContext
toString() String
A string representation of this object.
inherited

Operators

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