SpeechAdaptation constructor
SpeechAdaptation({
- Iterable<
PhraseSet> ? phraseSets, - Iterable<
String> ? phraseSetReferences, - Iterable<
CustomClass> ? customClasses, - SpeechAdaptation_ABNFGrammar? abnfGrammar,
Implementation
factory SpeechAdaptation({
$core.Iterable<PhraseSet>? phraseSets,
$core.Iterable<$core.String>? phraseSetReferences,
$core.Iterable<CustomClass>? customClasses,
SpeechAdaptation_ABNFGrammar? abnfGrammar,
}) {
final $result = create();
if (phraseSets != null) {
$result.phraseSets.addAll(phraseSets);
}
if (phraseSetReferences != null) {
$result.phraseSetReferences.addAll(phraseSetReferences);
}
if (customClasses != null) {
$result.customClasses.addAll(customClasses);
}
if (abnfGrammar != null) {
$result.abnfGrammar = abnfGrammar;
}
return $result;
}