SpeechAdaptation constructor

SpeechAdaptation({
  1. Iterable<SpeechAdaptation_AdaptationPhraseSet>? phraseSets,
  2. 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;
}