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 (gqlQuery != null) {
    _json["gqlQuery"] = (gqlQuery).toJson();
  }
  if (partitionId != null) {
    _json["partitionId"] = (partitionId).toJson();
  }
  if (query != null) {
    _json["query"] = (query).toJson();
  }
  if (readOptions != null) {
    _json["readOptions"] = (readOptions).toJson();
  }
  return _json;
}