DetectIntentResponse constructor

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

Implementation

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