ArticleComment constructor

ArticleComment({
  1. bool isNice = false,
  2. String createTimeStr = '',
  3. String authorId = '',
  4. String score = '',
  5. String createTime = '',
  6. String authorURL = '',
  7. VoteStatus vote = VoteStatus.normal,
  8. int revisionCount = 0,
  9. String timeAgo = '',
  10. String replyId = '',
  11. List<Metal> sysMetal = const [],
  12. int goodCnt = 0,
  13. bool visible = true,
  14. String articleId = '',
  15. int rewardedCnt = 0,
  16. String sharpURL = '',
  17. bool isAnonymous = false,
  18. int replyCnt = 0,
  19. String oId = '',
  20. String content = '',
  21. ArticleStatus status = ArticleStatus.Normal,
  22. String author = '',
  23. int thankCnt = 0,
  24. int badCnt = 0,
  25. bool rewarded = false,
  26. String thumbnailURL = '',
  27. String audioURL = '',
  28. int offered = 0,
  29. dynamic commenter,
})

Implementation

ArticleComment(
    {this.isNice = false,
    this.createTimeStr = '',
    this.authorId = '',
    this.score = '',
    this.createTime = '',
    this.authorURL = '',
    this.vote = VoteStatus.normal,
    this.revisionCount = 0,
    this.timeAgo = '',
    this.replyId = '',
    this.sysMetal = const [],
    this.goodCnt = 0,
    this.visible = true,
    this.articleId = '',
    this.rewardedCnt = 0,
    this.sharpURL = '',
    this.isAnonymous = false,
    this.replyCnt = 0,
    this.oId = '',
    this.content = '',
    this.status = ArticleStatus.Normal,
    this.author = '',
    this.thankCnt = 0,
    this.badCnt = 0,
    this.rewarded = false,
    this.thumbnailURL = '',
    this.audioURL = '',
    this.offered = 0,
    commenter}) {
  this.commenter = commenter ?? CommentAuthor();
}