toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (documents != null) {
    _json["documents"] = documents;
  }
  if (mask != null) {
    _json["mask"] = (mask).toJson();
  }
  if (newTransaction != null) {
    _json["newTransaction"] = (newTransaction).toJson();
  }
  if (readTime != null) {
    _json["readTime"] = readTime;
  }
  if (transaction != null) {
    _json["transaction"] = transaction;
  }
  return _json;
}