toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'articleTitle': title,
      'articleContent': content,
      'articleTags': tags,
      'articleCommentable': commentable,
      'articleNotifyFollowers': notifyFollowers,
      'articleType': type,
      'articleShowInList': showInList,
      'articleRewardContent': rewardContent,
      'articleRewardPoint': rewardPoint,
      'articleAnonymous': anonymous,
      'articleQnAOfferPoint': offerPoint,
    };