SpeechContext constructor

SpeechContext({
  1. Iterable<String>? phrases,
  2. double? boost,
})

Implementation

factory SpeechContext({
  $core.Iterable<$core.String>? phrases,
  $core.double? boost,
}) {
  final $result = create();
  if (phrases != null) {
    $result.phrases.addAll(phrases);
  }
  if (boost != null) {
    $result.boost = boost;
  }
  return $result;
}