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