toJson method

Map<String, dynamic> toJson()

Converts the object into a JSON representation

Implementation

Map<String, dynamic> toJson() {
  return {
    'link': link,
    'messageId': messageId,
    'scheduledDateTime': scheduledDateTime,
    'title': title,
  };
}