SpeakerDiarizationConfig constructor
SpeakerDiarizationConfig({
- bool? enableSpeakerDiarization,
- int? minSpeakerCount,
- int? maxSpeakerCount,
- @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;
}