RunQueryResponse.fromJson constructor

RunQueryResponse.fromJson(
  1. Map _json
)

Implementation

RunQueryResponse.fromJson(core.Map _json) {
  if (_json.containsKey("document")) {
    document = new Document.fromJson(_json["document"]);
  }
  if (_json.containsKey("readTime")) {
    readTime = _json["readTime"];
  }
  if (_json.containsKey("skippedResults")) {
    skippedResults = _json["skippedResults"];
  }
  if (_json.containsKey("transaction")) {
    transaction = _json["transaction"];
  }
}