BatchRecognizeResults constructor
BatchRecognizeResults({
- Iterable<
SpeechRecognitionResult> ? results, - RecognitionResponseMetadata? metadata,
Implementation
factory BatchRecognizeResults({
$core.Iterable<SpeechRecognitionResult>? results,
RecognitionResponseMetadata? metadata,
}) {
final $result = create();
if (results != null) {
$result.results.addAll(results);
}
if (metadata != null) {
$result.metadata = metadata;
}
return $result;
}