PhraseSet constructor

PhraseSet({
  1. String? name,
  2. Iterable<PhraseSet_Phrase>? phrases,
  3. double? boost,
})

Implementation

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