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