VoiceSelectionParams constructor

VoiceSelectionParams({
  1. String? name,
  2. SsmlVoiceGender? ssmlGender,
})

Implementation

factory VoiceSelectionParams({
  $core.String? name,
  SsmlVoiceGender? ssmlGender,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (ssmlGender != null) {
    _result.ssmlGender = ssmlGender;
  }
  return _result;
}