StreamingDetectIntentResponse constructor
StreamingDetectIntentResponse({
- StreamingRecognitionResult? recognitionResult,
- DetectIntentResponse? detectIntentResponse,
Implementation
factory StreamingDetectIntentResponse({
StreamingRecognitionResult? recognitionResult,
DetectIntentResponse? detectIntentResponse,
}) {
final _result = create();
if (recognitionResult != null) {
_result.recognitionResult = recognitionResult;
}
if (detectIntentResponse != null) {
_result.detectIntentResponse = detectIntentResponse;
}
return _result;
}