toJson method

Map<String, dynamic> toJson()

Implementation

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