SpeakerDiarizationConfig constructor

SpeakerDiarizationConfig({
  1. bool? enableSpeakerDiarization,
  2. int? minSpeakerCount,
  3. int? maxSpeakerCount,
  4. @Deprecated('This field is deprecated.') int? speakerTag,
})

Implementation

factory SpeakerDiarizationConfig({
  $core.bool? enableSpeakerDiarization,
  $core.int? minSpeakerCount,
  $core.int? maxSpeakerCount,
  @$core.Deprecated('This field is deprecated.') $core.int? speakerTag,
}) {
  final $result = create();
  if (enableSpeakerDiarization != null) {
    $result.enableSpeakerDiarization = enableSpeakerDiarization;
  }
  if (minSpeakerCount != null) {
    $result.minSpeakerCount = minSpeakerCount;
  }
  if (maxSpeakerCount != null) {
    $result.maxSpeakerCount = maxSpeakerCount;
  }
  if (speakerTag != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.speakerTag = speakerTag;
  }
  return $result;
}