CommentPost.from constructor

CommentPost.from(
  1. Map<String, dynamic> json
)

Implementation

CommentPost.from(Map<String, dynamic> json)
    : articleId = json['articleId'],
      isAnonymous = json['commentAnonymous'],
      isVisible = json['commentVisible'],
      content = json['commentContent'],
      replyId = json['commentOriginalCommentId'];