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