toJson method
Implementation
Map<String, dynamic> toJson() => {
'articleShowInList': showInList,
'articleCreateTime': createTime,
'articleAuthorId': authorId,
'articleBadCnt': badCnt,
'articleLatestCmtTime': latestCmtTime,
'articleGoodCnt': goodCnt,
'articleQnAOfferPoint': offerPoint,
'articleThumbnailURL': thumbnailURL,
'articleStickRemains': stickRemains,
'timeAgo': timeAgo,
'articleUpdateTimeStr': updateTimeStr,
'articleAuthorName': authorName,
'articleType': type.index,
'offered': offered,
'articleCreateTimeStr': createTimeStr,
'articleViewCount': viewCnt,
'articleAuthorThumbnailURL20': thumbnailURL20,
'articleWatchCnt': watchCnt,
'articlePreviewContent': previewContent,
'articleTitleEmoj': titleEmoj,
'articleTitleEmojUnicode': titleEmojUnicode,
'articleTitle': title,
'articleAuthorThumbnailURL48': thumbnailURL48,
'articleCommentCount': commentCnt,
'articleCollectCnt': collectCnt,
'articleLatestCmterName': latestCmterName,
'articleTags': tags,
'oId': oId,
'cmtTimeAgo': cmtTimeAgo,
'articleStick': stick,
'articleTagObjs': tagObjs.map((e) => e.toJson()).toList(),
'articleLatestCmtTimeStr': latestCmtTimeStr,
'articleAnonymous': anonymous,
'articleThankCnt': thankCnt,
'articleUpdateTime': updateTime,
'articleStatus': status.index,
'articleHeat': heat,
'articlePerfect': perfect,
'articleAuthorThumbnailURL210': thumbnailURL210,
'articlePermalink': permalink,
'articleAuthor': author.toJson(),
'thankedCnt': thankedCnt,
'articleAnonymousView': anonymousView,
'articleViewCntDisplayFormat': viewCntFormat,
'articleCommentable': commentable,
'rewarded': rewarded,
'rewardedCnt': rewardedCnt,
'articleRewardPoint': rewardPoint,
'isFollowing': isFollowing,
'isWatching': isWatching,
'isMyArticle': isMyArticle,
'thanked': thanked,
'articleEditorType': editorType,
'articleAudioURL': audioURL,
'articleToC': table,
'articleContent': content,
'articleOriginalContent': source,
'articleImg1URL': img1URL,
'articleVote': vote.index,
'articleRandomDouble': randomDouble,
'articleAuthorIntro': authorIntro,
'articleCity': city,
'articleIP': IP,
'articleAuthorURL': authorURL,
'articlePushOrder': pushOrder,
'articleRewardContent': rewardContent,
'redditScore': redditScore,
'pagination': pagination?.toJson(),
'discussionViewable': commentViewable,
'articleRevisionCount': revisionCount,
'articleComments': comments.map((e) => e.toJson()).toList(),
'articleNiceComments': niceComments.map((e) => e.toJson()).toList(),
};