Comment.fromJson constructor
Implementation
factory Comment.fromJson(Map<String, dynamic> json) {
return Comment(
commentID: json['commentID'],
postID: json['postID'],
user: User.fromJson(json['user']),
date: json['date'],
content: json['content'],
likeCount: json['likeCount'],
didIlike: json['didIlike'],
);
}