AIResponse constructor

AIResponse({Map body })

Implementation

AIResponse({Map body}) {
  _responseId = body['responseId'];
  _intentDetectionConfidence = body['intentDetectionConfidence'];
  _queryResult = new QueryResult(body['queryResult']);
  _languageCode = body['languageCode'];
  _diagnosticInfo = (body['diagnosticInfo'] != null
      ? new DiagnosticInfo(body['diagnosticInfo'])
      : null);
  _webhookStatus = body['webhookStatus'] != null
      ? new WebhookStatus(body['webhookStatus'])
      : null;
}