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 (cause != null) {
    _json["cause"] = (cause).toJson();
  }
  if (readTime != null) {
    _json["readTime"] = readTime;
  }
  if (resumeToken != null) {
    _json["resumeToken"] = resumeToken;
  }
  if (targetChangeType != null) {
    _json["targetChangeType"] = targetChangeType;
  }
  if (targetIds != null) {
    _json["targetIds"] = targetIds;
  }
  return _json;
}