RecognizeResponse constructor
RecognizeResponse({
- Iterable<
SpeechRecognitionResult> ? results, - Duration? totalBilledTime,
- SpeechAdaptationInfo? speechAdaptationInfo,
- Int64? requestId,
Implementation
factory RecognizeResponse({
$core.Iterable<SpeechRecognitionResult>? results,
$3.Duration? totalBilledTime,
SpeechAdaptationInfo? speechAdaptationInfo,
$fixnum.Int64? requestId,
}) {
final $result = create();
if (results != null) {
$result.results.addAll(results);
}
if (totalBilledTime != null) {
$result.totalBilledTime = totalBilledTime;
}
if (speechAdaptationInfo != null) {
$result.speechAdaptationInfo = speechAdaptationInfo;
}
if (requestId != null) {
$result.requestId = requestId;
}
return $result;
}