toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "topicImage": topicImage,
  "activityId": activityId,
  "topicId": topicId,
  "sourceType": sourceType,
  "link": link,
  "topicName": topicName,
};