toJson method
Implementation
Map<String, dynamic> toJson() => {
'oId': oId,
'url': url,
'dataType': dataType,
'articleTitle': title,
'authorName': author,
'content': content,
'isComment': isComment,
'thumbnailURL': thumbnailURL,
'articleCommentCount': commentCnt,
'articlePerfect': perfect ? 1 : 0,
'articleTagObjs': tagObjs.map((i) => i.toJson()).toList(),
'articleTags': tags,
'articleType': type,
'hasRead': hasRead,
'createTime': createTime,
};