ArticleComment constructor
ArticleComment({
- bool isNice = false,
- String createTimeStr = '',
- String authorId = '',
- String score = '',
- String createTime = '',
- String authorURL = '',
- VoteStatus vote = VoteStatus.normal,
- int revisionCount = 0,
- String timeAgo = '',
- String replyId = '',
- List<
Metal> sysMetal = const [], - int goodCnt = 0,
- bool visible = true,
- String articleId = '',
- int rewardedCnt = 0,
- String sharpURL = '',
- bool isAnonymous = false,
- int replyCnt = 0,
- String oId = '',
- String content = '',
- ArticleStatus status = ArticleStatus.Normal,
- String author = '',
- int thankCnt = 0,
- int badCnt = 0,
- bool rewarded = false,
- String thumbnailURL = '',
- String audioURL = '',
- int offered = 0,
- 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();
}