DetectIntentResponse constructor

DetectIntentResponse({
  1. String? responseId,
  2. QueryResult? queryResult,
  3. List<int>? outputAudio,
  4. OutputAudioConfig? outputAudioConfig,
})

Implementation

factory DetectIntentResponse({
  $core.String? responseId,
  QueryResult? queryResult,
  $core.List<$core.int>? outputAudio,
  $23.OutputAudioConfig? outputAudioConfig,
}) {
  final _result = create();
  if (responseId != null) {
    _result.responseId = responseId;
  }
  if (queryResult != null) {
    _result.queryResult = queryResult;
  }
  if (outputAudio != null) {
    _result.outputAudio = outputAudio;
  }
  if (outputAudioConfig != null) {
    _result.outputAudioConfig = outputAudioConfig;
  }
  return _result;
}