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;
}