toJson method

Map<String, dynamic> toJson()

Implementation

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