toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'accessibleByGroupIds'] = this.accessibleByGroupIds;
  if (this.rootCommentCount != null) {
    json[r'rootCommentCount'] = this.rootCommentCount;
  } else {
    json[r'rootCommentCount'] = null;
  }
  if (this.commentCount != null) {
    json[r'commentCount'] = this.commentCount;
  } else {
    json[r'commentCount'] = null;
  }
    json[r'title'] = this.title;
    json[r'url'] = this.url;
    json[r'urlId'] = this.urlId;
  return json;
}