PhraseSet constructor
PhraseSet({
- String? name,
- Iterable<
PhraseSet_Phrase> ? phrases, - 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;
}