StreamingRecognitionResult constructor
StreamingRecognitionResult({})
Implementation
factory StreamingRecognitionResult({
$core.Iterable<SpeechRecognitionAlternative>? alternatives,
$core.bool? isFinal,
$core.double? stability,
$3.Duration? resultEndTime,
$core.int? channelTag,
$core.String? languageCode,
}) {
final $result = create();
if (alternatives != null) {
$result.alternatives.addAll(alternatives);
}
if (isFinal != null) {
$result.isFinal = isFinal;
}
if (stability != null) {
$result.stability = stability;
}
if (resultEndTime != null) {
$result.resultEndTime = resultEndTime;
}
if (channelTag != null) {
$result.channelTag = channelTag;
}
if (languageCode != null) {
$result.languageCode = languageCode;
}
return $result;
}