ArticleDetail class

文章详情

Constructors

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 []})
ArticleDetail.from(Map<String, dynamic> data)

Properties

anonymous bool
是否匿名
getter/setter pair
anonymousView int
文章匿名浏览量
getter/setter pair
audioURL String
文章音频地址
getter/setter pair
author ArticleAuthor
作者用户信息
getter/setter pair
authorId String
发布者Id
getter/setter pair
authorIntro String
作者签名
getter/setter pair
authorName String
作者用户名
getter/setter pair
authorURL String
作者首页地址
getter/setter pair
badCnt int
反对数
getter/setter pair
city String
发布城市
getter/setter pair
cmtTimeAgo String
最后评论时间简写
getter/setter pair
collectCnt int
收藏数
getter/setter pair
commentable bool
文章是否启用评论
getter/setter pair
commentCnt int
文章评论数
getter/setter pair
comments List<ArticleComment>
文章的评论
getter/setter pair
commentViewable bool
评论是否可见
getter/setter pair
content String
文章内容 HTML
getter/setter pair
createTime String
文章创建时间
getter/setter pair
createTimeStr String
文章创建时间字符串
getter/setter pair
editorType int
编辑器类型
getter/setter pair
goodCnt int
赞同数
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heat int
文章点击数
getter/setter pair
img1URL String
文章缩略图
getter/setter pair
IP String
发布者 IP
getter/setter pair
isFollowing bool
是否已收藏
getter/setter pair
isMyArticle bool
是否是我的文章
getter/setter pair
isWatching bool
是否已关注
getter/setter pair
latestCmterName String
文章最后评论者
getter/setter pair
latestCmtTime String
文章最后评论时间
getter/setter pair
latestCmtTimeStr String
文章最后评论时间
getter/setter pair
niceComments List<ArticleComment>
文章最佳评论
getter/setter pair
offered bool
是否悬赏
getter/setter pair
offerPoint int
悬赏积分
getter/setter pair
oId String
文章 id
getter/setter pair
pagination Pagination?
评论分页信息
getter/setter pair
perfect bool
文章是否优选
getter/setter pair
文章固定链接
getter/setter pair
previewContent String
文章预览内容
getter/setter pair
pushOrder int
推送 Email 推送顺序
getter/setter pair
randomDouble double
文章随机数
getter/setter pair
redditScore String
reddit分数
getter/setter pair
revisionCount int
文章修改次数
getter/setter pair
rewardContent String
打赏内容
getter/setter pair
rewarded bool
是否已打赏
getter/setter pair
rewardedCnt int
打赏人数
getter/setter pair
rewardPoint int
文章打赏积分
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showInList bool
是否在列表展示
getter/setter pair
source String
文章内容 Markdown
getter/setter pair
status ArticleStatus
文章状态
getter/setter pair
stick int
是否置顶
getter/setter pair
stickRemains int
置顶序号
getter/setter pair
table String
文章目录 HTML
getter/setter pair
tagObjs List<ArticleTag>
文章标签信息
getter/setter pair
tags String
文章标签
getter/setter pair
thankCnt int
文章感谢数
getter/setter pair
thanked bool
是否已感谢
getter/setter pair
thankedCnt int
文章感谢数
getter/setter pair
thumbnailURL String
文章缩略图
getter/setter pair
thumbnailURL20 String
作者头像缩略图
getter/setter pair
thumbnailURL210 String
作者头像缩略图
getter/setter pair
thumbnailURL48 String
作者头像缩略图
getter/setter pair
timeAgo String
发布时间简写
getter/setter pair
title String
文章标题
getter/setter pair
titleEmoj String
文章标题
getter/setter pair
titleEmojUnicode String
文章标题(Unicode 的 Emoji)
getter/setter pair
type ArticleType
文章类型
getter/setter pair
updateTime String
文章更新时间
getter/setter pair
updateTimeStr String
文章更新时间
getter/setter pair
viewCnt int
文章浏览数
getter/setter pair
viewCntFormat String
文章浏览量简写
getter/setter pair
vote VoteStatus
文章点赞状态
getter/setter pair
watchCnt int
关注数
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited