toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'uid': uid,
    'previewImageUrl': previewImageUrl,
    'publicationDate': publicationDate,
    'locale': locale,
    'title': title,
    'slug': slug,
    'contentPreview': contentPreview,
    'content': content,
  };
}