toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['title'] = this.title;
  data['editor'] = this.editor;
  data['author'] = this.author;
  data['thumbnail'] = this.thumbnail;
  data['excerpt'] = this.excerpt;
  data['trackbacks'] = this.trackbacks;
  data['custom-fields'] = this.customFields;
  data['comments'] = this.comments;
  data['revisions'] = this.revisions;
  data['post-formats'] = this.postFormats;
  return data;
}