toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'title': title,
    'body': body,
    'deeplink': deeplink,
    'topicCode': topicCode,
    'isRead': isRead,
    'createdAt': createdAt?.toIso8601String(),
  };
}