RunQueryResponse.fromJson constructor

RunQueryResponse.fromJson(
  1. Map _json
)

Implementation

RunQueryResponse.fromJson(core.Map _json) {
  if (_json.containsKey("batch")) {
    batch = new QueryResultBatch.fromJson(_json["batch"]);
  }
  if (_json.containsKey("query")) {
    query = new Query.fromJson(_json["query"]);
  }
}