ArticleDetail constructor
ArticleDetail({
- bool showInList = false,
- String createTime = '',
- String authorId = '',
- int badCnt = 0,
- String latestCmtTime = '',
- int goodCnt = 0,
- int offerPoint = 0,
- String thumbnailURL = '',
- int stickRemains = 0,
- String timeAgo = '',
- String updateTimeStr = '',
- String authorName = '',
- ArticleType type = ArticleType.Normal,
- bool offered = false,
- String createTimeStr = '',
- int viewCnt = 0,
- String thumbnailURL20 = '',
- int watchCnt = 0,
- String previewContent = '',
- String titleEmoj = '',
- String titleEmojUnicode = '',
- String title = '',
- String thumbnailURL48 = '',
- int commentCnt = 0,
- int collectCnt = 0,
- String latestCmterName = '',
- String tags = '',
- String oId = '',
- String cmtTimeAgo = '',
- int stick = 0,
- List<
ArticleTag> tagObjs = const [], - String latestCmtTimeStr = '',
- bool anonymous = false,
- int thankCnt = 0,
- String updateTime = '',
- ArticleStatus status = ArticleStatus.Normal,
- int heat = 0,
- bool perfect = false,
- String thumbnailURL210 = '',
- String permalink = '',
- dynamic articleAuthor,
- int thankedCnt = 0,
- int anonymousView = 0,
- String viewCntFormat = '',
- bool commentable = false,
- bool rewarded = false,
- int rewardedCnt = 0,
- int rewardPoint = 0,
- bool isFollowing = false,
- bool isWatching = false,
- bool isMyArticle = false,
- bool thanked = false,
- int editorType = 0,
- String audioURL = '',
- String table = '',
- String content = '',
- String source = '',
- String img1URL = '',
- VoteStatus vote = VoteStatus.normal,
- double randomDouble = 0.0,
- String authorIntro = '',
- String city = '',
- String IP = '',
- String authorURL = '',
- int pushOrder = 0,
- String rewardContent = '',
- String redditScore = '',
- Pagination? pagination,
- bool commentViewable = false,
- int revisionCount = 0,
- List<
ArticleComment> comments = const [], - List<
ArticleComment> niceComments = const [],
Implementation
ArticleDetail({
this.showInList = false,
this.createTime = '',
this.authorId = '',
this.badCnt = 0,
this.latestCmtTime = '',
this.goodCnt = 0,
this.offerPoint = 0,
this.thumbnailURL = '',
this.stickRemains = 0,
this.timeAgo = '',
this.updateTimeStr = '',
this.authorName = '',
this.type = ArticleType.Normal,
this.offered = false,
this.createTimeStr = '',
this.viewCnt = 0,
this.thumbnailURL20 = '',
this.watchCnt = 0,
this.previewContent = '',
this.titleEmoj = '',
this.titleEmojUnicode = '',
this.title = '',
this.thumbnailURL48 = '',
this.commentCnt = 0,
this.collectCnt = 0,
this.latestCmterName = '',
this.tags = '',
this.oId = '',
this.cmtTimeAgo = '',
this.stick = 0,
this.tagObjs = const [],
this.latestCmtTimeStr = '',
this.anonymous = false,
this.thankCnt = 0,
this.updateTime = '',
this.status = ArticleStatus.Normal,
this.heat = 0,
this.perfect = false,
this.thumbnailURL210 = '',
this.permalink = '',
articleAuthor,
this.thankedCnt = 0,
this.anonymousView = 0,
this.viewCntFormat = '',
this.commentable = false,
this.rewarded = false,
this.rewardedCnt = 0,
this.rewardPoint = 0,
this.isFollowing = false,
this.isWatching = false,
this.isMyArticle = false,
this.thanked = false,
this.editorType = 0,
this.audioURL = '',
this.table = '',
this.content = '',
this.source = '',
this.img1URL = '',
this.vote = VoteStatus.normal,
this.randomDouble = 0.0,
this.authorIntro = '',
this.city = '',
this.IP = '',
this.authorURL = '',
this.pushOrder = 0,
this.rewardContent = '',
this.redditScore = '',
this.pagination,
this.commentViewable = false,
this.revisionCount = 0,
this.comments = const [],
this.niceComments = const [],
}) {
author = articleAuthor ?? ArticleAuthor();
}