Result constructor

Result(Map response)

Implementation

Result(Map response) {
  this._source = response["source"];
  this._action = response["action"];
  this._resolvedQuery = response["resolvedQuery"];
  this._actionIncomplete = response["actionIncomplete"];
  this._parameters = response["parameters"];
  this._contexts = response["contexts"];
  this._metadata = new Metadata(response["metadata"]);
  this._fulfillment = new Fulfillment(response["fulfillment"]);
  this._score = response["score"];
}