BatchGetDocumentsRequest.fromJson constructor

BatchGetDocumentsRequest.fromJson(Map _json)

Implementation

BatchGetDocumentsRequest.fromJson(core.Map _json) {
  if (_json.containsKey("documents")) {
    documents = (_json["documents"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("mask")) {
    mask = new DocumentMask.fromJson(_json["mask"]);
  }
  if (_json.containsKey("newTransaction")) {
    newTransaction = new TransactionOptions.fromJson(_json["newTransaction"]);
  }
  if (_json.containsKey("readTime")) {
    readTime = _json["readTime"];
  }
  if (_json.containsKey("transaction")) {
    transaction = _json["transaction"];
  }
}