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 (chunkedValue != null) {
    _json["chunkedValue"] = chunkedValue;
  }
  if (metadata != null) {
    _json["metadata"] = (metadata).toJson();
  }
  if (resumeToken != null) {
    _json["resumeToken"] = resumeToken;
  }
  if (stats != null) {
    _json["stats"] = (stats).toJson();
  }
  if (values != null) {
    _json["values"] = values;
  }
  return _json;
}