toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (author != null) 'author': author!,
      if (blog != null) 'blog': blog!,
      if (content != null) 'content': content!,
      if (customMetaData != null) 'customMetaData': customMetaData!,
      if (etag != null) 'etag': etag!,
      if (id != null) 'id': id!,
      if (images != null) 'images': images!,
      if (kind != null) 'kind': kind!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (published != null) 'published': published!,
      if (readerComments != null) 'readerComments': readerComments!,
      if (replies != null) 'replies': replies!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (title != null) 'title': title!,
      if (titleLink != null) 'titleLink': titleLink!,
      if (trashed != null) 'trashed': trashed!,
      if (updated != null) 'updated': updated!,
      if (url != null) 'url': url!,
    };